-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
async_write_ha_state errors in latest HA beta (2024.5.0b4) #37
Comments
Thanks for the heads up! |
Thanks for the fast response. I installed 1.5.3 beta, and the errors reported have disappeared But the integration does not seem to load and I see this during startup:
|
I think this is a bug related to updating to above 1.5 (the betas). |
Yes, that worked. |
Similar problem with 2024.5.2, but latest beta + reconfigure (and restart HA) solved the problem. |
FWIW I still see asyncio related warning from priceanalyzer, using HA 2024.7.2: 2024-07-24 08:37:49.304 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/usr/local/lib/python3.12/site-packages/pytz/zoneinfo/Europe/Stockholm', 'rb') inside the event loop by custom integration 'priceanalyzer' at custom_components/priceanalyzer/init.py, line 207: tz=timezone("Europe/Stockholm"), (offender: /usr/local/lib/python3.12/site-packages/pytz/init.py, line 108: return open(filename, 'rb')), please create a bug report at https://github.com/erlendsellie/priceanalyzer/issues |
Fixed :-) |
Version of the custom_component
1.5
Homeassistant version
2024.5.0b4
Describe the bug
Integration throws warnings and runtime errors related to 'async_write_ha_state' in latest HA beta release.
Debug log
The text was updated successfully, but these errors were encountered: