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