I wanted to create an automation for 2 switches. Switch 1 turns on my water pump, and switch 2 turns on a light when the water level of my tank goes 1/4 level already. I tried creating in automations. The action part of the automation works if i try to test it with run action but the trigger part doesn’t work. Anyone can help me out? Big thanks to everyone.
Going through the logs.This is what I can see:
Yellow Light became unavailable
4:46:06 PM - 6 hours ago
But the automation doesn’t trigger. Instead on the trace it looks like this only.
This node was not executed and so no further trace information is available.
Under step config it shows:
platform: state
entity_id:
switch.sonoff_1001f59072
for:
hours: 0
minutes: 0
seconds: 3
to: unavailable