Hello,
I’d like to use automation to turn on a switch every day during Spring and Fall.
So far, this is what I have:
- alias: Turn on switch
trigger:
- platform: time
at: "13:50"
condition:
condition: or
conditions:
- condition: state
entity_id: sensor.season
state: Spring
- condition: state
entity_id: sensor.season
state: Fall
action:
- service: switch.turn_on
target:
entity_id: switch.flush_1_relay
The season sensor shows Spring when I check in the UI but the switch is never turned on.
Is there a way to debug automation and see which condition was truthy or not?
Thank you