At the moment i can’t find a way to configure an action in automation to set a switch to the 0/1-value of a sensor.
I know that i can detect the sensor for 0->1 and for 1->0 and turn the switch on or off. But I need 2 automation rules for this and had the hope to put both conditions in a single rule.
Thanks in advance for your reply.