From 84c89686a9270ac2dabd21806753dca3545372aa Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 2 Dec 2016 09:13:39 -0800 Subject: [PATCH] Update __init__.py --- homeassistant/components/scene/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/homeassistant/components/scene/__init__.py b/homeassistant/components/scene/__init__.py index 7934f4b610b..3f532a33151 100644 --- a/homeassistant/components/scene/__init__.py +++ b/homeassistant/components/scene/__init__.py @@ -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)