Rename MockToggleDevice to MockToggleEntity (#26644)
* Rename MockToggleDevice to MockToggleEntity * Fix tests
This commit is contained in:
1 parent
57833f5b1e
commit
6a60ebdb30
10 files changed
+200
-198
No files matched your search
@@ -24,7 +24,7 @@ class TestScene(unittest.TestCase):
|
||||
self.hass, light.DOMAIN, {light.DOMAIN: {"platform": "test"}}
|
||||
)
|
||||
|
||||
self.light_1, self.light_2 = test_light.DEVICES[0:2]
|
||||
self.light_1, self.light_2 = test_light.ENTITIES[0:2]
|
||||
|
||||
common_light.turn_off(
|
||||
self.hass, [self.light_1.entity_id, self.light_2.entity_id]
|
||||
|
||||
Reference in new issue
Block a user