Rename MockToggleDevice to MockToggleEntity (#26644)
* Rename MockToggleDevice to MockToggleEntity * Fix tests
This commit is contained in:
1 parent
e9fe90a873
commit
4a30c1023c
10 files changed
+200
-198
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user