Fixed a typo that broke the example.

This commit is contained in:
tfitts 2016-05-13 13:04:44 -06:00
parent aaab3c7e82
commit c05fc4fdfe

View File

@ -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)