SecKatie / ha-wyzeapi

Home Assistant Integration for Wyze devices.
751 stars 113 forks source link

[Bug] Integration uses features that will be deprecated in future HA release #614

Closed mhollerb closed 3 months ago

mhollerb commented 3 months ago

Describe the bug HA log shows that several features of this Wyze integration will be deprecated in a future release. (I don't know if these changes will cause the integration to fail entirely, but I figured I'd point it out.)

To Reproduce Just loading the integration generates an HA log. It also appears daily.

Expected behavior Everything functions as expected (for now) but by 2025 there may be issues.

System configuration System: Supervised HA Version: Core 2024.7.2; Supervisor 2024.06.2 WyzeApi Version: 0.1.27


<PUT YOUR LOG HERE>
```Logger: homeassistant.helpers.frame
Source: helpers/frame.py:151
First occurred: 11:42:15 AM (26 occurrences)
Last logged: 11:42:33 AM

"Detected code that calls async_forward_entry_setup for integration, wyzeapi with title: and entry_id: ###, which is deprecated and will stop working in Home Assistant 2025.6, await async_forward_entry_setups instead. Please report this issue.
Detected code that calls async_forward_entry_setup for integration wyzeapi with title: and entry_id: ###, 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. Please report this issue.
Detected code that calls async_forward_entry_setup for integration kumo with title: email@address.com and entry_id: ###, 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. Please report this issue.
Detected code that calls async_forward_entry_setup for integration eufy_security with title: IPADDRESS and entry_id: ###, 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. Please report this issue."

Thanks!
brg468 commented 3 months ago

Thanks for the report. Already addressed here:

https://github.com/SecKatie/ha-wyzeapi/pull/609