Hello, i have and automation for my alarm system.
I have one problem, when some action won’t work (Lannouncer for example) the automation stop to run and everyting is after Lannouncer won’t work, for example won’t turn on my siren for example.
Someone have some solution?
I have many automation and with different devices that have this problem.
Also with telegram notification / mobile phone ecc.
- id: '1564681991925'
alias: 0.2Allarme Triggered
trigger:
- entity_id: alarm_control_panel.allarme
platform: state
to: triggered
condition: []
action:
- data:
message: Attenzione! Allarme INTRUSI!!!
service: notify.lannouncer
- data:
message: "Attenzione!!! ALLARME SCATTATO!!: {% for state in states.binary_sensor\
\ -%}\n{% if state.state == 'on' and state.name not in ['Router Antenna Studio',\n\
'Router Studio'] %}\n {{ state.name }}\n {%- endif -%}\n {%- endfor -%}\n"
service: notify.telegram
- data:
data:
push:
sound:
critical: 1
name: Alarm Alert Effect.wav
volume: 1
message: "Attenzione!!! ALLARME SCATTATO!!: {% for state in states.binary_sensor\
\ -%}\n{% if state.state == 'on' and state.name not in ['Router Antenna Studio',\n\
'Router Studio'] %}\n {{ state.name }}\n {%- endif -%}\n {%- endfor -%}\n"
service: notify.mobile_app_iphone_di_stefano_augusto
- data:
data:
push:
sound:
critical: 1
name: Alarm Alert Effect.wav
volume: 1
message: "Attenzione!!! ALLARME SCATTATO!!: {% for state in states.binary_sensor\
\ -%}\n{% if state.state == 'on' and state.name not in ['Router Antenna Studio',\n\
'Router Studio'] %}\n {{ state.name }}\n {%- endif -%}\n {%- endfor -%}\n"
service: notify.mobile_app_iphone_di_micol
- data:
entity_id: switch.0x000d6ffffee3a23f_switch
service: switch.turn_off
- data:
entity_id: switch.0x000d6ffffedd6f8e_switch
service: switch.turn_on
- data:
data:
method: alarm
message: FILE1
service: notify.lannouncer
hide_entity: true