mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 12:59:34 +00:00
Entity Component to no longer generate automatic groups (#23789)
This commit is contained in:
@@ -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