From c05fc4fdfe168ee19cc5aaf8409ec9dc1597c054 Mon Sep 17 00:00:00 2001 From: tfitts Date: Fri, 13 May 2016 13:04:44 -0600 Subject: [PATCH] Fixed a typo that broke the example. --- source/_cookbook/python_component_basic_service.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_cookbook/python_component_basic_service.markdown b/source/_cookbook/python_component_basic_service.markdown index e6f6bd6b367..5c53ecc1c99 100644 --- a/source/_cookbook/python_component_basic_service.markdown +++ b/source/_cookbook/python_component_basic_service.markdown @@ -28,7 +28,7 @@ def setup(hass, config): def handle_hello(call): name = call.data.get(ATTR_NAME, DEFAULT_NAME) - hass.states.set('hello.service.hello', name) + hass.states.set('hello_service.hello', name) hass.services.register(DOMAIN, 'hello', handle_hello)