jesserockz / ha-leafspy

A Home Assistant integration to receive live data sent from the LeafSpy app
MIT License
26 stars 9 forks source link

WARNING hass.helpers.dispatcher is deprecated and will stop working in HA 2024.11 - __init__.py line 46 #25

Closed SJLBoulder closed 3 months ago

SJLBoulder commented 4 months ago

I'm a new user. Just installed the LeafSpy integration. Thank you.

I see a warning that a HA service/function is deprecated and will stop working later this year:

2024-07-01 16:17:07.730 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'leafspy' accesses hass.helpers.dispatcher. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from dispatcher directly at custom_components/leafspy/init.py, line 46: hass.helpers.dispatcher.async_dispatcher_connect(, please create a bug report at https://github.com/jesserockz/ha-leafspy/issues