Fix service documentation appearing for notifications
We want the descriptions for notify.notify regardless of the name of the exact notify service being called.
This commit is contained in:
@@ -89,7 +89,7 @@ def setup(hass, config):
|
||||
service_call_handler = partial(notify_message, notify_service)
|
||||
service_notify = p_config.get(CONF_NAME, SERVICE_NOTIFY)
|
||||
hass.services.register(DOMAIN, service_notify, service_call_handler,
|
||||
descriptions.get(service_notify))
|
||||
descriptions.get(SERVICE_NOTIFY))
|
||||
success = True
|
||||
|
||||
return success
|
||||
|
||||
Reference in New Issue
Block a user