Skip to content

Commit

Permalink
telegram order
Browse files Browse the repository at this point in the history
  • Loading branch information
farmio committed Sep 19, 2024
1 parent afd3593 commit 7c80c0c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/components/knx/test_device.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 61 in tests/components/knx/test_device.py

View workflow job for this annotation

GitHub Actions / Run tests Python 3.12 (knx)

test_remove_device AssertionError: Group address mismatch in <Telegram direction="Outgoing" source_address="0.0.0" destination_address="1/0/45" payload="<GroupValueRead />" /> - Expected: 1/0/21 assert '1/0/45' == '1/0/21' - 1/0/21 + 1/0/45
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(
Expand Down
2 changes: 1 addition & 1 deletion tests/components/knx/test_light.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c80c0c

Please sign in to comment.