diff --git a/custom_components/adtpulse/alarm_control_panel.py b/custom_components/adtpulse/alarm_control_panel.py index 0c239f9..4a1b402 100644 --- a/custom_components/adtpulse/alarm_control_panel.py +++ b/custom_components/adtpulse/alarm_control_panel.py @@ -131,15 +131,8 @@ def icon(self) -> str: return ALARM_ICON_MAP[self._alarm.status] @property - def supported_features(self) -> AlarmControlPanelEntityFeature | None: + def supported_features(self) -> AlarmControlPanelEntityFeature: """Return the list of supported features.""" - if self.state != STATE_ALARM_DISARMED: - return None - retval = AlarmControlPanelEntityFeature.ARM_CUSTOM_BYPASS - if self._site.zones_as_dict is None: - return retval - if not system_can_be_armed(self._site): - return retval return ( AlarmControlPanelEntityFeature.ARM_AWAY | AlarmControlPanelEntityFeature.ARM_CUSTOM_BYPASS