kvj / hass_openwrt

Home Assistant integration with OpenWrt devices
MIT License
114 stars 20 forks source link

Platform forwards should be awaited #28

Open bdraco opened 5 months ago

bdraco commented 5 months ago

https://developers.home-assistant.io/blog/2022/07/08/config_entry_forwards/

https://github.com/kvj/hass_openwrt/blob/8eb8a37c629bd2df933e282ab34005a665e46d2c/custom_components/openwrt/__init__.py#L33

Replace this block with await hass.config_entries.async_forward_entry_setups(entry, PLATFORMS)