1
0
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:
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

@@ -391,8 +391,7 @@ async def test_unique_id(hass):
async_fire_mqtt_message(hass, "test-topic", "payload")
assert len(hass.states.async_entity_ids()) == 2
# all switches group is 1, unique id created is 1
assert len(hass.states.async_entity_ids()) == 1
async def test_discovery_removal_switch(hass, mqtt_mock, caplog):