stevland
(Stevland Ambrose)
1
This automation shouldn’t run. But it does. What am I doing wrong?
trigger: []
condition:
- condition: time
after: '11:00:00'
action:
- service: light.turn_off
data: {}
target:
entity_id: light.living_room_lights_group
mode: single
Triggered manually at November 19, 2023 at 09:44:41
Call a service ‘Light: Turn off’ on Living Room Lights Group
Finished at November 19, 2023 at 09:44:42 (runtime: 0.12 seconds)
TheFes
(The Fes)
2
Did you run it by pressing the RUN button in the GUI (I assume so, as there is no trigger). If that’s the case, conditions are ignored.
You can use the automation.trigger service call in developer tools > services to optionally check on the conditions as well
stevland
(Stevland Ambrose)
3
Oh, THAT’S what I’m missing.
It does make sense that conditions would be ignored if the automation is run manually.
And I’ll check out the trigger service call.
Thanks!