Skip to content

Commit

Permalink
alarm_control_panel: set code as not required
Browse files Browse the repository at this point in the history
Upcoming change in HA 2024.6 enforces code entry by default unless this
is set to false.

https://developers.home-assistant.io/blog/2024/05/22/alarm_control_panel_validation
  • Loading branch information
make-all committed Jun 2, 2024
1 parent 9de64b5 commit dba5369
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions custom_components/tuya_local/alarm_control_panel.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ def __init__(self, device: TuyaLocalDevice, config: TuyaEntityConfig):
self._attr_supported_features |= Feature.TRIGGER
# Code support not implemented
self._attr_code_format = None
self._attr_code_arm_required = False

@property
def state(self):
Expand Down

0 comments on commit dba5369

Please sign in to comment.