Rename AlarmControlPanel to AlarmControlPanelEntity (#34590)
This commit is contained in:
parent
29bc93ea98
commit
6f7f5b4034
31 changed files with 75 additions and 48 deletions
|
@ -21,7 +21,7 @@ from simplipy.websocket import (
|
|||
from homeassistant.components.alarm_control_panel import (
|
||||
FORMAT_NUMBER,
|
||||
FORMAT_TEXT,
|
||||
AlarmControlPanel,
|
||||
AlarmControlPanelEntity,
|
||||
)
|
||||
from homeassistant.components.alarm_control_panel.const import (
|
||||
SUPPORT_ALARM_ARM_AWAY,
|
||||
|
@ -72,7 +72,7 @@ async def async_setup_entry(hass, entry, async_add_entities):
|
|||
)
|
||||
|
||||
|
||||
class SimpliSafeAlarm(SimpliSafeEntity, AlarmControlPanel):
|
||||
class SimpliSafeAlarm(SimpliSafeEntity, AlarmControlPanelEntity):
|
||||
"""Representation of a SimpliSafe alarm."""
|
||||
|
||||
def __init__(self, simplisafe, system):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue