I’ve currently got almost all of my automations in NodeRed, which mostly works great but trying to figure out what went wrong with an automation can be a real pain.
The new automation tracing in HA looked like the perfect solution … but automations still feel way too limiting (unless, as per the title, I’m missing something obvious). Is there any way to run actions conditionally without resorting to templates and thus losing the tracing?
For example a simple:
automation:
trigger:
- platform: sun
event: sunset
action:
- if some_condition
- service: light.turn_on
target:
entity_id: light.living_room
else
- service: light.turn_off
target:
entity_id: light.living_room