Fix Alarm control panel not require code in several integrations (#118961)

This commit is contained in:
G Johansson 2024-06-06 14:21:30 +03:00 committed by GitHub
parent a5959cfb83
commit 2a4f7439a2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 12 additions and 0 deletions

View file

@ -51,6 +51,7 @@ class HiveAlarmControlPanelEntity(HiveEntity, AlarmControlPanelEntity):
| AlarmControlPanelEntityFeature.ARM_AWAY
| AlarmControlPanelEntityFeature.TRIGGER
)
_attr_code_arm_required = False
async def async_alarm_disarm(self, code: str | None = None) -> None:
"""Send disarm command."""