Skip to content

Commit f8c82c6

Browse files
committed
update AlarmControlPanel to AlarmControlPanelEntity
1 parent 847f7a3 commit f8c82c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

homeassistant/components/xiaomi_miio/alarm_control_panel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from homeassistant.components.alarm_control_panel import (
99
SUPPORT_ALARM_ARM_AWAY,
10-
AlarmControlPanel,
10+
AlarmControlPanelEntity,
1111
)
1212
from homeassistant.const import (
1313
STATE_ALARM_ARMED_AWAY,
@@ -39,7 +39,7 @@ async def async_setup_entry(hass, config_entry, async_add_entities):
3939
async_add_entities(entities)
4040

4141

42-
class XiaomiGatewayAlarm(AlarmControlPanel):
42+
class XiaomiGatewayAlarm(AlarmControlPanelEntity):
4343
"""Representation of the XiaomiGatewayAlarm."""
4444

4545
def __init__(

0 commit comments

Comments
 (0)