diff --git a/custom_components/hikvision_axpro/__init__.py b/custom_components/hikvision_axpro/__init__.py index 1e69e7a..e54b2e4 100644 --- a/custom_components/hikvision_axpro/__init__.py +++ b/custom_components/hikvision_axpro/__init__.py @@ -147,7 +147,7 @@ def _update_data(self) -> None: if subsys.arming == Arming.AWAY: status = STATE_ALARM_ARMED_AWAY break - if subsys.arming == Arming.HOME: + if subsys.arming == Arming.STAY: status = STATE_ALARM_ARMED_HOME break if subsys.arming == Arming.VACATION: diff --git a/custom_components/hikvision_axpro/model.py b/custom_components/hikvision_axpro/model.py index 801b1a9..25f472c 100644 --- a/custom_components/hikvision_axpro/model.py +++ b/custom_components/hikvision_axpro/model.py @@ -262,7 +262,7 @@ def to_dict(self) -> dict: class Arming(Enum): AWAY = "away" - HOME = "home" + STAY = "stay" VACATION = "vacation" DISARM = "disarm"