Merge pull request #1371 from davidedmundson/dev

Fix service documentation appearing for notifications
This commit is contained in:
Paulus Schoutsen 2016-02-22 07:37:08 -08:00
commit 7cc3b8d7b1

View File

@ -89,7 +89,7 @@ def setup(hass, config):
service_call_handler = partial(notify_message, notify_service) service_call_handler = partial(notify_message, notify_service)
service_notify = p_config.get(CONF_NAME, SERVICE_NOTIFY) service_notify = p_config.get(CONF_NAME, SERVICE_NOTIFY)
hass.services.register(DOMAIN, service_notify, service_call_handler, hass.services.register(DOMAIN, service_notify, service_call_handler,
descriptions.get(service_notify)) descriptions.get(SERVICE_NOTIFY))
success = True success = True
return success return success