This commit is contained in:
J. Nick Koston
2025-12-20 08:42:52 -10:00
parent e812d8683a
commit 6cb66559bc
+2 -2
View File
@@ -182,8 +182,8 @@ async def test_api_homeassistant(
# Test edge cases for zero-copy implementation safety
# Empty entity_id should be silently ignored (no crash)
client.send_home_assistant_state("", "", "should_be_ignored")
# Empty state with valid entity should work
client.send_home_assistant_state("sensor.external_temperature", "", "")
# Empty state with valid entity should work (use different entity to not interfere with test)
client.send_home_assistant_state("sensor.edge_case_empty_state", "", "")
# List entities and services
_, services = await client.list_entities_services()