Update __init__.py

pull/4677/head
Paulus Schoutsen 2016-12-02 09:13:39 -08:00 committed by GitHub
parent 48fd8f1f63
commit 84c89686a9
1 changed files with 1 additions and 2 deletions

View File

@ -67,8 +67,7 @@ def async_setup(hass, config):
def async_handle_scene_service(service):
"""Handle calls to the switch services."""
target_scenes = component.async_extract_from_service(service)
print(target_scenes)
print(component.entities)
tasks = [scene.async_activate() for scene in target_scenes]
if tasks:
yield from asyncio.wait(tasks, loop=hass.loop)