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:
1 parent
a7248d4574
commit
70b901017f
27 files changed
+385
-316
No files matched your search
@@ -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