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

Update xknx to 0.20.2 (#69853)

This commit is contained in:
Marvin Wichmann
2022-04-11 16:51:13 +02:00
committed by GitHub
parent 81a55703bf
commit 3d30a757bf
6 changed files with 7 additions and 13 deletions

View File

@@ -158,9 +158,8 @@ async def test_climate_preset_mode(hass: HomeAssistant, knx: KNXTestKit):
er.async_remove("climate.test")
await hass.async_block_till_done()
assert len(knx.xknx.devices) == 2
assert len(knx.xknx.devices[0].device_updated_cbs) == 1
assert len(knx.xknx.devices[1].device_updated_cbs) == 1
# If we remove the entity the underlying devices should disappear too
assert len(knx.xknx.devices) == 0
async def test_update_entity(hass: HomeAssistant, knx: KNXTestKit):