mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 13:17:32 +00:00
Update __init__.py
This commit is contained in:
parent
48fd8f1f63
commit
84c89686a9
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user