diff --git a/tests/components/knx/test_device.py b/tests/components/knx/test_device.py index d8d72a5281483..a041079d89547 100644 --- a/tests/components/knx/test_device.py +++ b/tests/components/knx/test_device.py @@ -58,8 +58,8 @@ async def test_remove_device( await knx.setup_integration({}) client = await hass_ws_client(hass) - await knx.assert_read("1/0/45", response=True) # test switch await knx.assert_read("1/0/21", response=True) # test light + await knx.assert_read("1/0/45", response=True) # test switch assert hass_storage[KNX_CONFIG_STORAGE_KEY]["data"]["entities"].get("switch") test_device = device_registry.async_get_device( diff --git a/tests/components/knx/test_light.py b/tests/components/knx/test_light.py index 9088f8814bdf9..d1739425ae274 100644 --- a/tests/components/knx/test_light.py +++ b/tests/components/knx/test_light.py @@ -1230,8 +1230,8 @@ async def test_light_ui_load( """Test loading a light from storage.""" await knx.setup_integration({}) - await knx.assert_read("1/0/45", response=True) # test switch - unrelated here await knx.assert_read("1/0/21", response=True) # test light + await knx.assert_read("1/0/45", response=True) # test switch - unrelated here state = hass.states.get("light.test") assert state.state is STATE_ON