-
Notifications
You must be signed in to change notification settings - Fork 68
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
Performance and Compatibility Issues with Emporia Vue Integration on Home Assistant Core 2024.8 #303
Comments
Would you mind grabbing the |
I'm seeing the same issue. The integration took just over 252 seconds to load last time. I even tried to just reload this integration after everything was up and running. From the debug log, here's what I see:
|
I am experiencing significant performance issues with the Emporia Vue integration on my Home Assistant setup, which appears to be contributing to high system load and instability. Below are the details of the issues observed:
Home Assistant Core Version: 2024.8
Emporia Vue Integration Version: [Insert version from manifest.json]
Installation Type: HA running under VirtualBox on Mac
Database: SQLite
The integration is making blocking calls within the event loop, which is causing the system to become unresponsive. The logs show repeated warnings about blocking calls to open with args ('/usr/share/zoneinfo/America/New_York', 'rb') inside the event loop by the custom integration 'emporia_vue' at custom_components/emporia_vue/init.py, line 564:
Detected blocking call to open with args ('/usr/share/zoneinfo/America/New_York', 'rb') inside the event loop by custom integration 'emporia_vue' at custom_components/emporia_vue/init.py, line 564
This blocking behavior severely impacts the responsiveness of the Home Assistant UI and other integrations.
Client Unable to Keep Up with Pending Messages:
The integration seems to be contributing to the high system load, resulting in clients being unable to keep up with the number of pending messages. The logs repeatedly show errors like:
Client unable to keep up with pending messages. Reached 4096 pending messages. The system's load is too high or an integration is misbehaving.
This affects the overall performance of my Home Assistant instance, leading to frequent reconnects and slow UI responsiveness.
There are warnings about unused data found during updates:
Unused data found during update. Unused data: {'40103-Balance-1MIN': <pyemvue.device.VueDeviceChannelUsage object at 0x7f86935befc0>}
The integration is using deprecated methods that will stop working in future versions of Home Assistant. For example:
Detected code that calls async_forward_entry_setup for integration emporia_vue with title: Customer 22563 and entry_id: e00389d188cff5f070aaa781b527d690, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1.
The text was updated successfully, but these errors were encountered: