From 8d5a16434603f3eeb1dff3c71f5ba9c96e36dd48 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 22 Feb 2016 11:13:57 +0000 Subject: [PATCH] Fix service documentation appearing for notifications We want the descriptions for notify.notify regardless of the name of the exact notify service being called. --- homeassistant/components/notify/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/notify/__init__.py b/homeassistant/components/notify/__init__.py index 245b9c6fde3..a44dd638479 100644 --- a/homeassistant/components/notify/__init__.py +++ b/homeassistant/components/notify/__init__.py @@ -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