Entity Component to no longer generate automatic groups (#23789)
This commit is contained in:
1 parent
13e6479b6e
commit
9aa02e35a7
41 files changed
+149
-377
No files matched your search
@@ -52,12 +52,6 @@ class TestLight(unittest.TestCase):
|
||||
self.hass.states.set("light.test", STATE_OFF)
|
||||
assert not light.is_on(self.hass, "light.test")
|
||||
|
||||
self.hass.states.set(light.ENTITY_ID_ALL_LIGHTS, STATE_ON)
|
||||
assert light.is_on(self.hass)
|
||||
|
||||
self.hass.states.set(light.ENTITY_ID_ALL_LIGHTS, STATE_OFF)
|
||||
assert not light.is_on(self.hass)
|
||||
|
||||
# Test turn_on
|
||||
turn_on_calls = mock_service(self.hass, light.DOMAIN, SERVICE_TURN_ON)
|
||||
|
||||
|
||||
Reference in new issue
Block a user