Skip to content

Commit

Permalink
⚠️ fix for alarm_control_panel (#1966)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Dec 2, 2024
1 parent e43d33d commit bb372d8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions custom_components/xiaomi_miot/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
MiotSpec,
MiotService,
)
from .core.const import AlarmControlPanelState

_LOGGER = logging.getLogger(__name__)
DATA_KEY = f'{ENTITY_DOMAIN}.{DOMAIN}'
Expand Down
1 change: 0 additions & 1 deletion custom_components/xiaomi_miot/core/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

1 comment on commit bb372d8

@al-one
Copy link
Owner Author

@al-one al-one commented on bb372d8 Dec 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.