-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
The Kiosk midnight glitch is back. #129
Comments
It seems as the glitch-fix in energy_sensor.py is not triggered when realTimePower is zero. No debug log entry from that code. I only see this:
|
I am stumped... All of a sudden it all starts working.
One thing I also did play with was the We will see after midnight if it still works. |
Rebooted HA and the issue is back, no INFO log message
|
I was fooled by slow logger updates, multiple async tasks and python caching when I did not see what was going on in the logs. It seems it actually is the float comparison causing trouble. I changed line 68 in energy_sensor.py to:
After HA restart I get those log entries:
In an hour or two we will see what the energy tab looks like.... |
Yesterday dec 6 and today I noticed the kiosk midnight glitch in lifetime energy is back. Days before was OK. Using the new Kiosk URL from Jan 1, by reinstalling and reconfiguring this kiosk integration at that time.
All I can recall happening was two HA core updates on Dec 5 and 6.
The text was updated successfully, but these errors were encountered: