Clean up SimpliSafe entity inheritance structure (#58063)
* Migrate SimpliSafe to new web-based authentication * Ensure we're storing data correctly * Re-organize SimpliSafe device structure * Constants * More work * Code review
This commit is contained in:
parent
c7ff6eb5ee
commit
2ff356393c
5 changed files with 57 additions and 72 deletions
|
@ -80,7 +80,7 @@ class SimpliSafeAlarm(SimpliSafeEntity, AlarmControlPanelEntity):
|
|||
|
||||
def __init__(self, simplisafe: SimpliSafe, system: SystemV2 | SystemV3) -> None:
|
||||
"""Initialize the SimpliSafe alarm."""
|
||||
super().__init__(simplisafe, system, "Alarm Control Panel")
|
||||
super().__init__(simplisafe, system)
|
||||
|
||||
if code := self._simplisafe.entry.options.get(CONF_CODE):
|
||||
if code.isdigit():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue