core icon indicating copy to clipboard operation
core copied to clipboard

History of entities is broken when icloud3 is installed

Open reisueber opened this issue 1 year ago • 13 comments

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

reisueber avatar Jul 04 '24 14:07 reisueber

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

murray-m17 avatar Jul 04 '24 14:07 murray-m17

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

bdraco avatar Jul 04 '24 15:07 bdraco

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 avatar Jul 04 '24 23:07 madeinoz67

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

madeinoz67 avatar Jul 05 '24 00:07 madeinoz67

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.

reisueber avatar Jul 05 '24 12:07 reisueber

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

thoward1234 avatar Jul 05 '24 19:07 thoward1234

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.

ChopperRob avatar Jul 05 '24 20:07 ChopperRob

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

bdraco avatar Jul 05 '24 20:07 bdraco

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 avatar Jul 06 '24 05:07 reisueber

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

reisueber avatar Jul 06 '24 05:07 reisueber

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.

ChopperRob avatar Jul 06 '24 08:07 ChopperRob

@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.

reisueber avatar Jul 06 '24 11:07 reisueber

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.