Turn off a binary sensor in an automation (like in "Developer Tools")

Hi everyone,

I have an issue with a binary_sensor (zwave Motion sensor) from Steinel (IS-140-2).
Every now and then it hangs on detected which leads to the occupancy to stay on as well.

With the developer tools I can reset the sensor to clear (off), but not in an automation.
I have also tried the generic turn off"

Is there no option to manually change a binary_sensor?

Thanks

A sensor is something that senses. if you want to change it … you need an input_boolean or so. Create a helper as input_bolean. Create an automation which changes the input_boolean whenever the sensor changes.

Thanks, Ralf,
I have read about this option.
However, it’s about a real (motion) sensor, which keeps the state detected every now and then.
That’s causing the occupancy in the garden to be constantly on.
If I reset the sensor manually by usung the developer tools, the occupancy is going back to normal.
I know that this is not how it’ supposed to be, but it’s a workaround to deal with the buggy Steinel Sensor.
A power cycle does help as well, but I don’t have the option (yet) to automate this.

I thought, because it’s possible with the developer tools, it might be with the automation as well…