Hi, I’m new to HA and I am trying my first automations.
For example I want a shelly switch to be switched off 20 minutes after dawn.
My problem is that all negative time offsets are working as expected, but the positive don’t work.
I tried several different annotations, but the triggers do not fire at all.
Am I having a faulty reasoning, a fallacy? This is an excerpt of my automations.yaml.
Any help appreciated.
regards, Frank
- id: '1738098859726'
alias: mi disp off -1 -300
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: '-300'
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738519526054'
alias: mi disp off -2 -00:10:00
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: -00:10:00
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738519578963'
alias: mi disp off -3 -00:12
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: -00:12
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738519658530'
alias: mi disp off +1 300
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: 330
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738098674583'
alias: mi disp off +2 +420
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: '+420'
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738098722492'
alias: mi disp off +3 00:09:00
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: '00:09:00'
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738098762300'
alias: mi disp off +4 +00:11:00
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: +00:11:00
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738519956390'
alias: mi disp off +5 00:13
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: '00:13'
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single
- id: '1738520007973'
alias: mi disp off +6 +00:15
description: ''
triggers:
- trigger: time
at:
entity_id: sensor.sun_next_dawn
offset: +00:15
conditions: []
actions:
- type: turn_off
device_id: d5f18457f51d4d2c0369b7c88b2c56ab
entity_id: d3f127a137c8beb44d22cbc4fa327467
domain: switch
mode: single