djtimca / haomnilogic

Hayward Omnilogic integration for Home Assistant available through HACS
Apache License 2.0
17 stars 6 forks source link

Omnilogic integration failing to load since HA update to 2023.5 #49

Closed knwpsk closed 1 year ago

knwpsk commented 1 year ago

This integration is failing to load. Started a few days ago after HA update to 2023.5 (I think).

From logs:

Logger: homeassistant.config_entries Source: custom_components/omnilogic/init.py:62 Integration: Omnilogic (documentation, issues) First occurred: May 10, 2023 at 7:57:48 PM (2 occurrences) Last logged: 2:26:52 PM

Error setting up entry Pool_Controller for omnilogic Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 387, in async_setup result = await component.async_setup_entry(hass, self) File "/config/custom_components/omnilogic/init.py", line 62, in async_setup_entry hass.config_entries.async_setup_platforms(entry, PLATFORMS) AttributeError: 'ConfigEntries' object has no attribute 'async_setup_platforms'

knwpsk commented 1 year ago

Reloading the integration does not help. I haven't messed with it in any way. :)

matthewaaronthacker commented 1 year ago

If you go to HACS there should be an update available that fixes the issue. (at least it did for me)

knwpsk commented 1 year ago

@matthewaaronthacker yes that resolved it! Thanks for pointing it out. (Now I'm creating an alert to tell me or show me on dashboard when HACS updates are available!)