I got this automation, which I thought will be easy, all I need to automate is when the voltage drops to a value turn the charger switch on.
I can see the voltage reading on “sensor.voltage reading” entity but its not operating the relay , am i missing anything here
The obvious error is attribute: unit_of_measurement. That means you’re looking for 'V' to drop below 12.5.
Remove the attribute line. I suspect you were tricked by the UI into selecting something, but you want to compare the state of the sensor not any of its attributes.
There could be other errors lurking in there that we can’t see because of the formatting: see prior post.
Hi Troon, i think that helped and i re wrote the automation because , i can see in the log it was being triggered but it was not turning the light on
my realy config is this