mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Remove service helper (5) (#16917)
* Update switch * Update script * Update light * Fix tests * Fix config/script hook * Async_create_task * Fix flux switch
This commit is contained in:
@@ -8,6 +8,7 @@ from homeassistant.components import light, scene
|
||||
from homeassistant.util import yaml
|
||||
|
||||
from tests.common import get_test_home_assistant
|
||||
from tests.components.light import common as common_light
|
||||
from tests.components.scene import common
|
||||
|
||||
|
||||
@@ -26,7 +27,7 @@ class TestScene(unittest.TestCase):
|
||||
|
||||
self.light_1, self.light_2 = test_light.DEVICES[0:2]
|
||||
|
||||
light.turn_off(
|
||||
common_light.turn_off(
|
||||
self.hass, [self.light_1.entity_id, self.light_2.entity_id])
|
||||
|
||||
self.hass.block_till_done()
|
||||
|
||||
Reference in New Issue
Block a user