core icon indicating copy to clipboard operation
core copied to clipboard

energy entity issue

Open robitsrl opened this issue 1 year ago • 1 comments

The problem

Hi, with an older ha version energy plance was working and i had statistic for one year. After i update to the latest version is not working anymore To start everything from scratch I remove all integration with the fronius system and i delete the energy file in .storage reboot the system Now without fronius integration the energy plance is reset and i have the wizard. In the wizard if i click to add entity, ha still show me some entity from the previous setup: sensor.primo_3_0_1_1_energy_day and so on

Those entity are not listed in my entity so how it's possible ha still see it ? How can i delete those unwanted entity from console ? There something else to do to start a fresh energy setup

Thanks

What version of Home Assistant Core has the issue?

2023.2.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Fronius

Link to integration documentation on our website

https://www.home-assistant.io/integrations/fronius

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

robitsrl avatar Feb 27 '23 17:02 robitsrl

Hey there @nielstron, @farmio, mind taking a look at this issue as it has been labeled with an integration (fronius) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of fronius can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign fronius Removes the current integration label and assignees on the issue, add the integration domain after the command.

(message by CodeOwnersMention)


fronius documentation fronius source (message by IssueLinks)

home-assistant[bot] avatar Feb 27 '23 17:02 home-assistant[bot]

Hi 👋! I guess there is still some long term statistics in the database. Maybe these can be removed from "Developer Tools -> Statistics".

The questions that bother me more are:

  • Why and how did the energy panel not work anymore?
  • Why do you think the Fronius integration caused that?
  • What was the last working HA version?

farmio avatar Feb 27 '23 18:02 farmio

Hi, thank's i managed to get those entity not showed anymore. I answer you questions

Why and how did the energy panel not work anymore? In the first setup to make fronius working I had to put some entries in the configurtion.yaml. After upgrade i notice in the integration the fronius tab and then i configure it (i forgot that before i make script in configuration.yaml). from that point i think fronius was not giving me data anymore so i decide do delete everything and start again.

Why do you think the Fronius integration caused that? Before i was only using the script in configuration.yaml and everything was working

What was the last working HA version? I do not remember, I setup ha over one year ago ans start playing with what, fee days ago i had some more device to integrate and then i openj the console and make many updates but I didn't test all version i'm just playing with the latest

robitsrl avatar Feb 27 '23 19:02 robitsrl

Aha. You missed the period when there was automatic migration from yaml to UI configuration.

This doesn't exactly explain why it didn't work anymore, but since it seems fine now I guess this can be closed. 👍

farmio avatar Feb 27 '23 19:02 farmio