eyeonwater icon indicating copy to clipboard operation
eyeonwater copied to clipboard

HA 2024.10: permanent warning about state class not existing

Open arpitgupta opened this issue 1 year ago • 8 comments

Have a permanent alert which will only go away if we delete the history. Saw this after I upgraded to 2024.10

Screen Shot 2024-10-03 at 7 08 19 AM

arpitgupta avatar Oct 03 '24 12:10 arpitgupta

Same here.

mattmeiser avatar Oct 08 '24 13:10 mattmeiser

Thank you for reporting this issue! It's a known issue, coming from the fact the eyeonwater releases the water usage retrospectively and the HA integration has to import meters usage in the past. This scenario is not very common and the HA Core seems to have some issues with importing the historical data. The current workaround for this problem has a side effect in the form of the warning message you see. It's described on the main page of this project. You also can see the original issue thread: https://github.com/kdeyev/eyeonwater/issues/30

kdeyev avatar Oct 08 '24 14:10 kdeyev

I installed 2.5.12, and the error is gone. I noticed you removed your message to test and confirm. Should we go back to the other version?

ThirteenTX avatar Oct 08 '24 16:10 ThirteenTX

I spoke too soon. The error came back.

ThirteenTX avatar Oct 08 '24 19:10 ThirteenTX

So what is the solution to this? Clicking delete? Or just ignoring it?

Is there a HA Core issue tracking this that I can upvote?

fishcharlie avatar Oct 22 '24 00:10 fishcharlie

This is not part of HA Core since it is in HACS. I think if you want it to work right, you can't delete it; you just have to ignore it. It drives me crazy to see it all the time, but I am getting used to an error about nothing.

ThirteenTX avatar Oct 22 '24 12:10 ThirteenTX

Hi All, I apologize I'm super busy with my main job right now. TLDR: This error/warning message is absolutely harmless, and can be safely ignored. Will try to find a solution later, it may require some patching on the HA Core side, so don't expect it to be fixed soon.

kdeyev avatar Oct 22 '24 14:10 kdeyev

For anyone looking to mute the notification, you can use Spook to mark the repair as ignored:

https://spook.boo/repairs#ignore-all-issues

  1. Install Spook via HACS
  2. Developer Tools --> Actions --> run repairs.ignore_all

Exercise caution when doing anything with Spook, of course

utkashd avatar Mar 20 '25 09:03 utkashd