diff --git a/custom_components/xiaomi_miot/alarm_control_panel.py b/custom_components/xiaomi_miot/alarm_control_panel.py index 5c117f67a..480674479 100644 --- a/custom_components/xiaomi_miot/alarm_control_panel.py +++ b/custom_components/xiaomi_miot/alarm_control_panel.py @@ -19,6 +19,7 @@ MiotSpec, MiotService, ) +from .core.const import AlarmControlPanelState _LOGGER = logging.getLogger(__name__) DATA_KEY = f'{ENTITY_DOMAIN}.{DOMAIN}' diff --git a/custom_components/xiaomi_miot/core/const.py b/custom_components/xiaomi_miot/core/const.py index fed0de608..b2f2037cf 100644 --- a/custom_components/xiaomi_miot/core/const.py +++ b/custom_components/xiaomi_miot/core/const.py @@ -89,7 +89,6 @@ class CameraState(StrEnum): except (ModuleNotFoundError, ImportError): class AlarmControlPanelState(StrEnum): """Alarm control panel entity states.""" - DISARMED = "disarmed" ARMED_HOME = "armed_home" ARMED_AWAY = "armed_away"