Rename MockToggleDevice to MockToggleEntity (#26644)

* Rename MockToggleDevice to MockToggleEntity

* Fix tests
This commit is contained in:
Erik Montnemery authored and GitHub committed 2019-09-15 09:50:17 +02:00
1 parent 57833f5b1e
commit 6a60ebdb30
10 files changed
+200 -198

No files matched your search

+1 -1
View File
@@ -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]