Closed MichaelB2018 closed 1 year ago
Dang. Ok I'll find some time next week to take a look. I haven't updated to that version yet.
Thanks. I thought this was simply a task of changing init.py:
from
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
to
hass.config_entries.async_forward_entry_setup(entry, PLATFORMS)
But although that does not give an error message anymore, it's not working either. So I didn't get any further than this yet
ah... got it... You need to change line 56 from
hass.config_entries.async_setup_platforms(entry, PLATFORMS)
to
await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)
and now it works again.
Nice! Did you want to do a PR? Otherwise I'll try these fixes during the week. Thanks for figuring it out!
Sure - sent you a pull request. Thanks for creating this add-on!
Works for me too! Thanks for the update. I can't take credit for creating the add-on, just packaging it as a custom component. :)
This works for me as well, glad you fixed it. Let me know if you guys have any questions.
This integration was broken by Home Assistant Core 2023.5:
https://github.com/home-assistant/core/pull/91929