Skip to content

Commit

Permalink
Add option to enable/disable the shared state of the alarm output
Browse files Browse the repository at this point in the history
Adding a substitution to enable or disable whether the alarm output is shared. See issue konnected-io#27. Default is set to true to follow the current standard.
  • Loading branch information
SteeledKnight committed Jan 7, 2024
1 parent 4a1d42c commit 66516d7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/alarm-panel-esp32-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ substitutions:
warning_beep_pause_time: 130ms
warning_beep_internal_only: "false"
warning_beep_shared: "false"
alarm_shared: "true"
blink_on_state: "true"

####
Expand Down
1 change: 1 addition & 0 deletions packages/alarm-panel-esp8266-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ substitutions:
warning_beep_pause_time: 130ms
warning_beep_internal_only: "false"
warning_beep_shared: "true"
alarm_shared: "true"
blink_on_state: "true"

####
Expand Down
2 changes: 1 addition & 1 deletion packages/alarm-panel/alarm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ switch:
name: Siren
pin:
number: $alarm
allow_other_uses: true
allow_other_uses: $alarm_shared
platform: gpio
icon: mdi:bullhorn

Expand Down

0 comments on commit 66516d7

Please sign in to comment.