Rename MockToggleDevice to MockToggleEntity (#26644)

* Rename MockToggleDevice to MockToggleEntity

* Fix tests
This commit is contained in:
Erik Montnemery authored and Bram Kragten committed 2019-09-18 18:41:58 +02:00
1 parent e9fe90a873
commit 4a30c1023c
10 files changed
+200 -198

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ class TestSwitch(unittest.TestCase):
platform = getattr(self.hass.components, "test.switch")
platform.init()
# Switch 1 is ON, switch 2 is OFF
self.switch_1, self.switch_2, self.switch_3 = platform.DEVICES
self.switch_1, self.switch_2, self.switch_3 = platform.ENTITIES
# pylint: disable=invalid-name
def tearDown(self):