Hi everyone, I’m trying to create automations for the 3 areas of the house to interact with Alexa.
the problem is that I can’t find the exact combination. I’ll give some examples to explain myself better
zone 1 only mode
alias: AJAX PRIMO PIANO T
description: ""
trigger:
- platform: state
entity_id:
- alarm_control_panel.2018_a1984_zone_1_alarm
from: disarmed
to: armed_away
condition:
- condition: state
entity_id: alarm_control_panel.2018_a1984_zone_3_alarm
state: disarmed
- condition: state
entity_id: alarm_control_panel.2018_a1984_zone_2_alarm
state: disarmed
action:
- service: notify.alexa_media_echo_dot_di_luca
data:
target:
- media_player.echo_dot_di_luca
data:
type: announce
method: spoken
message: "Attenzione: Allarme Inserito solo al primo piano"
mode: single
practically it does not take into consideration the condition that the two zones must be deactivated, practically the automation starts even if I activate all 3 zones and it must not do so
example 2
automation when the entire 3-zone system is active or
alias: AJAX TUTTE LE ZONE INSERITE
description: ""
trigger:
- platform: state
entity_id:
- alarm_control_panel.2018_a1984_zone_1_alarm
- alarm_control_panel.2018_a1984_zone_2_alarm
- alarm_control_panel.2018_a1984_zone_3_alarm
from: disarmed
to: armed_away
condition: []
action:
- service: notify.alexa_media_echo_dot_di_luca
data:
target:
- media_player.echo_dot_di_luca
data:
type: announce
method: spoken
message: "Attenzione: Allarme Inserito in tutta la casa"
mode: single
the message is repeated 3 times and is boring and even if I activate a single zone