pippyn / Home-Assistant-Sensor-Afvalbeheer

Provides Home Assistant sensors for multiple Dutch and Belgium waste collectors
Apache License 2.0
272 stars 85 forks source link

Deprecated warning hass.helpers.discovery #480

Closed goegol closed 3 months ago

goegol commented 4 months ago

Hi, with homeassistant 2024.5.0 i got the following warning:

WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'afvalbeheer' accesses hass.helpers.discovery. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from discovery directly at custom_components/afvalbeheer/init.py, line 82: await hass.helpers.discovery.async_load_platform(, please report it to the author of the 'afvalbeheer' custom integration

pippyn commented 4 months ago

Thank you for reporting. I'm aware of this issue and will release an update soon.

pippyn commented 3 months ago

This warning is fixed in V5.3.3