rootnegativ1 / unifi-wifi

Home Assistant integration to change wireless passwords on UniFi Network controllers
MIT License
3 stars 0 forks source link

fix deprecated hass.helpers #38

Closed rootnegativ1 closed 5 months ago

rootnegativ1 commented 5 months ago

The use of hass.helpers has been deprecated as of Home Assistant 2024.5. This fixes the log warning:

WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'unifi_wifi' accesses hass.helpers.service. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from service directly at custom_components/unifi_wifi/services.py, line 379: hass.helpers.service.async_register_admin_service(, please create a bug report at https://github.com/rootnegativ1/unifi-wifi/issues