Hi all,
I have some integration like the one below that won’t trigger with the time pattern. Manual trigger works, so the condition are met but it seems that they won’t run by time_pattern, I think that the problem could be the multiple trigger:
- alias: "Watchdog camOrtino"
trigger:
- platform: state
entity_id: 'binary_sensor.bi_ortino'
from: 'on'
to: 'off'
for:
seconds: 30
- platform: time_pattern
minutes: "/5"
condition:
- condition: and
conditions:
- condition: state
entity_id: 'script.attesa_ortino'
state: 'off'
- condition: state
entity_id: 'input_boolean.e_mode'
state: 'off'
- condition: state
entity_id: 'binary_sensor.bi_ortino'
state: 'off'
- condition: not
conditions:
- condition: state
entity_id: sensor.wifi_ortino
state: 'unavailable'
action:
- service: homeassistant.turn_on
entity_id: 'switch.esp_ortino'
#- service: script.reload_esportino
- service: homeassistant.turn_on
entity_id: 'script.attesa_ortino'
- delay: '00:00:15'
- service: homeassistant.turn_off
entity_id: 'switch.esp_ortino'
Thanks for any suggestion