Rename AlarmControlPanel to AlarmControlPanelEntity (#34590)
This commit is contained in:
1 parent
29bc93ea98
commit
6f7f5b4034
31 files changed
+75
-48
No files matched your search
@@ -5,7 +5,7 @@ import voluptuous as vol
|
||||
|
||||
from homeassistant.components.alarm_control_panel import (
|
||||
FORMAT_NUMBER,
|
||||
AlarmControlPanel,
|
||||
AlarmControlPanelEntity,
|
||||
)
|
||||
from homeassistant.components.alarm_control_panel.const import (
|
||||
SUPPORT_ALARM_ARM_AWAY,
|
||||
@@ -74,7 +74,7 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
||||
)
|
||||
|
||||
|
||||
class AlarmDecoderAlarmPanel(AlarmControlPanel):
|
||||
class AlarmDecoderAlarmPanel(AlarmControlPanelEntity):
|
||||
"""Representation of an AlarmDecoder-based alarm panel."""
|
||||
|
||||
def __init__(self, auto_bypass, code_arm_required):
|
||||
|
||||
Reference in new issue
Block a user