mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update alarmdecoder.markdown (#25954)
This commit is contained in:
parent
48b109eb9f
commit
0062b65e1d
@ -130,13 +130,21 @@ Using a combination of the available services and attributes, you can create swi
|
||||
friendly_name: Chime
|
||||
value_template: "{{ is_state_attr('alarm_control_panel.alarm_panel', 'chime', true) }}"
|
||||
turn_on:
|
||||
service: alarmdecoder.alarm_toggle_chime
|
||||
- condition: state
|
||||
entity_id: alarm_control_panel.alarm_panel
|
||||
attribute: chime
|
||||
state: False
|
||||
- service: alarmdecoder.alarm_toggle_chime
|
||||
target:
|
||||
entity_id: alarm_control_panel.alarm_panel
|
||||
data:
|
||||
code: !secret alarm_code
|
||||
turn_off:
|
||||
service: alarmdecoder.alarm_toggle_chime
|
||||
- condition: state
|
||||
entity_id: alarm_control_panel.alarm_panel
|
||||
attribute: chime
|
||||
state: True
|
||||
- service: alarmdecoder.alarm_toggle_chime
|
||||
target:
|
||||
entity_id: alarm_control_panel.alarm_panel
|
||||
data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user