home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.2k stars 30.22k forks source link

History of entities is broken when icloud3 is installed #121214

Open reisueber opened 3 months ago

reisueber commented 3 months ago

The problem

After updating to Home Assistant 2024.7, all history graphs no longer show any changes. The status of a door remains "closed" in the history even though the door was opened in between. Screenshot 2024-07-04 161730

What version of Home Assistant Core has the issue?

core-2024.7.0

What was the last working version of Home Assistant Core?

core-2024.6.4

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

murray-m17 commented 3 months ago

This is happening with all my entities. The graphs stop showing data after 4am this morning image

bdraco commented 3 months ago

Assuming you are using sqlite, its like this issue https://github.com/home-assistant/core/issues/117263 which is fixed in 2024.8.x

madeinoz67 commented 3 months ago

So workaround is to roll back to 2024.6.x until fix is pushed out in 2024.8.x? To me this is a regression introduced in 2024.7 as has been working with no issues until update yesterday.

madeinoz67 commented 3 months ago

I've just rolled back and can confirm rolling back to 2024.6.4 resolves the historical data/recording issue.

reisueber commented 3 months ago

Rolling back to 2024.6.4 doen´t solve the problem for me. If the bug is indeed only fixed with 2024.8, I find it a little bit annoying because my energy dashboard will be broken until then.

thoward1234 commented 3 months ago

Also seeing this issue. Ran for two days before reverting to 2024.6.4 due to the loss of history data.

ChopperRob commented 3 months ago

Assuming you are using sqlite, its like this issue #117263 which is fixed in 2024.8.x

Hi @bdraco, i also have this issue, but i do not run sqlite, i use a default home assistant os installation. (or is that the default db?) And according to various other issues opened since the 2024.7.0 release it seems to be a bigger issue. I don´t think this issue can wait until the 2024.8.0 release.

bdraco commented 3 months ago

https://community.home-assistant.io/t/psa-2024-7-recorder-problems/746428

reisueber commented 3 months ago

Disabling the iCloud3 integration solves the issue for me. Thank you for the comment, @bdraco. I hope there is a quick fix for this integration.

reisueber commented 3 months ago

I could fix the bug in the iCloud intergration with this fix here: https://github.com/gcobb321/icloud3/issues/349#issuecomment-2208398378

ChopperRob commented 3 months ago

I removed the 2 custom components that i had installed, both where not mentioned in the forum thread, but the issue still occurs. I just did a manual purge and the recorder seems to be stopped again and there is nothing logged in the "home assistant core" log file.

reisueber commented 3 months ago

@ChopperRob Try to clean your browser cache. After I disabled the icloud integration I realised that I had to clean it before everything works fine again. Otherwise try to restart Home Assistant.

issue-triage-workflows[bot] commented 11 hours ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.