197 files

This commit is contained in:
Home Assistant Version Control
2026-08-21 18:53:37 +00:00
parent 89d9f5e49b
commit 383e9ed04e
197 changed files with 4386 additions and 1837 deletions
@@ -13,6 +13,7 @@ from .const import (
CONF_TASKS,
DOMAIN,
GLOBAL_UNIQUE_ID,
UNAVAILABLE_STATES,
MaintenanceStatus,
TriggerEntityState,
)
@@ -178,7 +179,7 @@ def _check_trigger_status(hass: HomeAssistant, data: Mapping[str, Any]) -> list[
if state is None:
entity_health = TriggerEntityState.MISSING
elif state.state in ("unavailable", "unknown"):
elif state.state in UNAVAILABLE_STATES:
entity_health = TriggerEntityState.UNAVAILABLE
else:
entity_health = TriggerEntityState.AVAILABLE