rootnegativ1 / unifi-wifi

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

Change service registration to require admin permissions #8

Closed rootnegativ1 closed 7 months ago

rootnegativ1 commented 7 months ago

Replace hass.services.async_register() with hass.helpers.service.async_register_admin_service() in accordance with https://developers.home-assistant.io/docs/auth_permissions#securing-a-service-call-handler