Homee: fix unavailable entities - 2nd FollowUp (#175382)

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Markus Adrario
2026-07-03 20:04:22 +02:00
committed by GitHub
co-authored by Copilot Autofix powered by AI
parent e9424fa0a0
commit 949ada2e72
+2 -2
View File
@@ -147,9 +147,9 @@ async def test_attribute_availability(
await hass.async_block_till_done()
assert (
hass.states.get("siren.test_siren").state is not STATE_UNAVAILABLE
hass.states.get("siren.test_siren").state != STATE_UNAVAILABLE
if state < AttributeState.INACTIVE
else STATE_UNAVAILABLE
else hass.states.get("siren.test_siren").state == STATE_UNAVAILABLE
)