1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Entity Component to no longer generate automatic groups (#23789)

This commit is contained in:
Paulus Schoutsen
2020-01-07 17:30:53 +01:00
committed by GitHub
parent 13e6479b6e
commit 9aa02e35a7
41 changed files with 149 additions and 377 deletions

View File

@@ -68,7 +68,7 @@ async def test_switches(hass):
assert "switch.smart_plug" in gateway.deconz_ids
assert "switch.warning_device" in gateway.deconz_ids
assert "switch.unsupported_switch" not in gateway.deconz_ids
assert len(hass.states.async_all()) == 6
assert len(hass.states.async_all()) == 4
on_off_switch = hass.states.get("switch.on_off_switch")
assert on_off_switch.state == "on"
@@ -161,4 +161,4 @@ async def test_switches(hass):
await gateway.async_reset()
assert len(hass.states.async_all()) == 2
assert len(hass.states.async_all()) == 0