Automation is correctly triggered
All actions are logged as executed (both in automation log and general log)
Last action “service: alarm_control_panel.alarm_disarm” not really executed (also logged as executed)
If I trigger the automation manually all is executed correctly.
I’m lost in this. Checked and checked again…
Thank in advance
Here the automation code:
id: '1631660555945'
alias: 'Allarme: DIS perimetrale per vento'
description: ''
trigger:
- platform: numeric_state
entity_id: sensor.10_min_average_wind_speed
above: '5'
condition:
- condition: or
conditions:
- condition: state
entity_id: alarm_control_panel.perimetrale
state: armed
- condition: state
entity_id: alarm_control_panel.perimetrale
state: armed_away
action:
- service: tts.google_say
data:
message: Wind > Alarm off
entity_id: media_player.gruppo_casa
- service: notify.persistent_notification
data:
message: Wind > Alarm off
- service: alarm_control_panel.alarm_disarm
target:
entity_id: alarm_control_panel.perimetrale
mode: single