Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit energy dashboard I get unknown error #121033

Closed
timpauladams opened this issue Jul 2, 2024 · 11 comments
Closed

Edit energy dashboard I get unknown error #121033

timpauladams opened this issue Jul 2, 2024 · 11 comments

Comments

@timpauladams
Copy link

The problem

I’m trying to edit the energy dashboard
It just says unknown error
If I remove the energy file then the error goes away And I can make modifications to the energy dashboard but I can’t save any changes as there is no file. I’ve tried creating a new blank file with the same name but then the unknown error comes back.

What version of Home Assistant Core has the issue?

2024.6.4

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

No response

Link to integration documentation on our website

No response

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

@rb-nbb
Copy link

rb-nbb commented Jul 4, 2024

Same problem with HA Core 2024.7.0

@Toolhead
Copy link

Toolhead commented Jul 4, 2024

Same her since updating to 2024.7

@Freddy315pk
Copy link

Same here since 2024.7. There's also no updates on power consumption or production on the energy dashboard but the counters for all relevent sensor are working when I check their history.

@ChristophCaina
Copy link
Contributor

can you please check, if your energy dashboard stopped recording data around 04:00 am ?
If yes, please test the following:

restart HA - wait...
If the dashboard should record again, run the service
reorder.purge

and monitor, if the energy dashboard stopped recording again.

If so, you need to restart HA again...
In this case, this is a known issue... and will be fixed with 2024.8.0 as it requires some database migration jobs... (as far as I understand)

as a workaround, you can disable the auto_purge from the recorder in your config.yaml

recorder:
  auto_purge: false

https://www.home-assistant.io/integrations/recorder/#auto_purge

@jasonwragg
Copy link

jasonwragg commented Jul 5, 2024

Do you have iCloud3_v3 installed? if so its possible causing the problem!

gcobb321/icloud3_v3#308

doing this: gcobb321/icloud3_v3#308 (comment) fixed it for me.

@timpauladams
Copy link
Author

Do you have iCloud3_v3 installed? if so its possible causing the problem!

gcobb321/icloud3_v3#308

doing this: gcobb321/icloud3_v3#308 (comment) fixed it for me.

No I don’t have it

@timpauladams
Copy link
Author

can you please check, if your energy dashboard stopped recording data around 04:00 am ? If yes, please test the following:

restart HA - wait... If the dashboard should record again, run the service reorder.purge

and monitor, if the energy dashboard stopped recording again.

If so, you need to restart HA again... In this case, this is a known issue... and will be fixed with 2024.8.0 as it requires some database migration jobs... (as far as I understand)

as a workaround, you can disable the auto_purge from the recorder in your config.yaml

recorder:
  auto_purge: false

https://www.home-assistant.io/integrations/recorder/#auto_purge

Can you give me step beep how to check this pls?

Thx in advance

@ChristophCaina
Copy link
Contributor

if you go to the developer tools, then service, you can call the service recorder.purge
after running this, the recorder might stop working, so you would not see new bars in your energy dashboard.

if this is the case, you need to set the above command in your configuration.yaml.

If you don't know how to do this, you can also create an automation that would restart your host after the auto_purge (which will be triggered around 4:00 / 4:15 am

@timpauladams
Copy link
Author

Same issue 😢

@bdraco
Copy link
Member

bdraco commented Jul 8, 2024

duplicate of #117263

@bdraco bdraco closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
@home-assistant
Copy link

home-assistant bot commented Jul 8, 2024

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (recorder) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of recorder 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 recorder Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


recorder documentation
recorder source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants