diff --git a/custom_components/hikvision_axpro/alarm_control_panel.py b/custom_components/hikvision_axpro/alarm_control_panel.py index 6bbd603..76aa5ca 100644 --- a/custom_components/hikvision_axpro/alarm_control_panel.py +++ b/custom_components/hikvision_axpro/alarm_control_panel.py @@ -79,7 +79,7 @@ def name(self): # "HikvisionAxPro" @property - def state(self): + def alarm_state(self): """Return the state of the device.""" return self.coordinator.state @@ -178,7 +178,7 @@ def name(self): # "HikvisionAxPro" @property - def state(self): + def alarm_state(self): """Return the state of the device.""" if self.sys.alarm: return AlarmControlPanelState.TRIGGERED