Skip to content

Commit

Permalink
fix(knx): correct failing test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
philippwaller committed Dec 25, 2024
1 parent ad6a883 commit 2b2fc48
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/components/knx/test_config_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ async def test_create_entity(
"name": test_name,
"device_info": None,
"entity_category": None,
"device_class": None,
"state_class": None,
},
"knx": {
"ga_switch": {"write": "1/2/3", "state": None, "passive": []},
Expand Down Expand Up @@ -300,7 +302,7 @@ async def test_delete_entity_error(
assert res["error"]["message"].startswith("Entity not found")


async def test_get_entity_config(
async def test_get_entity_config1(
hass: HomeAssistant,
knx: KNXTestKit,
hass_ws_client: WebSocketGenerator,
Expand Down Expand Up @@ -330,6 +332,8 @@ async def test_get_entity_config(
"name": "Test",
"device_info": None,
"entity_category": None,
"device_class": None,
"state_class": None,
},
"knx": {
"ga_switch": {"write": "1/2/3", "passive": [], "state": None},
Expand Down

0 comments on commit 2b2fc48

Please sign in to comment.