I spent hours on this and can’t figure it out.
I use a blueprint which requires a binary_sensor (door open/close)
My available binary status for this function is unfortunately not a sensor but the the on/off status of a switch status (on status = door closed, off status = door open)
So I created a binary_sensor helper. So far so good.
Now I try to create an automation using the magnet status as trigger to set the binary_sensor helper on or off.
But I can’t find any action (using the GUI) to change the binary_sensor state.
I also tried to do it within the helper configuration but the status of the helper is not changing when the switch status changes.
I tried this line i the helper state template line (xxxx being the device name):
1: states: not "switch.xxxx"
How to manipulate the status of the helper (binary_sensor) in an automation?
Is this possible using the automation GUI or is my approach wrong?
Anyone who can explain to me the correct approach to solve this problem.