SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
746 stars 114 forks source link

Update load and unload platform #609

Closed brg468 closed 3 months ago

brg468 commented 3 months ago

Use hass.config_entries.async_forward_entry_setups for setup. Gets rid of the depreciation warning and complies with the blog post here:

https://developers.home-assistant.io/blog/2024/06/12/async_forward_entry_setups

Also switch to the preferred async_unload_platforms method.