Closed rootnegativ1 closed 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
hass.services.async_register()
hass.helpers.service.async_register_admin_service()
Replace
hass.services.async_register()
withhass.helpers.service.async_register_admin_service()
in accordance with https://developers.home-assistant.io/docs/auth_permissions#securing-a-service-call-handler