diff --git a/custom_components/adtpulse/alarm_control_panel.py b/custom_components/adtpulse/alarm_control_panel.py index 607fefd..0c239f9 100644 --- a/custom_components/adtpulse/alarm_control_panel.py +++ b/custom_components/adtpulse/alarm_control_panel.py @@ -251,6 +251,11 @@ def code_format(self) -> None: """ return None + @property + def available(self) -> bool: + """Alarm panel is always available even if gateway isn't.""" + return True + @callback def _handle_coordinator_update(self) -> None: LOG.debug( diff --git a/custom_components/adtpulse/base_entity.py b/custom_components/adtpulse/base_entity.py index d741d4c..64b16ab 100644 --- a/custom_components/adtpulse/base_entity.py +++ b/custom_components/adtpulse/base_entity.py @@ -60,7 +60,7 @@ def extra_state_attributes(self) -> Mapping[str, Any] | None: return self._attrs @property - def is_available(self) -> bool: + def available(self) -> bool: """Returns whether an entity is available. Generally false if gateway is offline."""