Hi everyone, I’ve been trying to work out some of my automations don’t trigger. I’m not sure whether it’s to do with the types of condition. Hopefully you can help me find out.
For starters, I re-did all my automations using the Automation Editor. Triggering the automations manually works like a charm. But it’s just the automatic triggering that seems to be the problem.
An example of an automation that won’t trigger is this:
- action:
- data:
entity_id: group.all_lights
service: light.turn_off
- data:
entity_id: scene.gone_out_nighttime
service: scene.turn_on
alias: "Departure \u2014 after dark"
condition:
- after: sunset
before: sunrise
condition: sun
id: '1506415798774'
trigger:
- entity_id: group.all_devices
from: home
platform: state
to: not_home
But if I change the trigger to a time, it seems to work! Thoughts?