To minimize confusion I’m going to call the actual normal garage door operator pushbutton the “GDO” and the HA controlled button the “switchbot”
Looking at the switchbots I think they only act as kind of a “virtual finger” pressing the GDO button just like you would when you operate the GDO.
So (and correct me if I’m wrong…) when you normally push the GDO you only momentarily push it then immediately release it. If you turn on the switchbot then turn it back off right away doesn’t it just “unpress” the GDO just like you pulling your finger away from the GDO?
Or does your GDO need to be held in position until the door goes all the way closed or open?
I know the way my GDO works is if I push the button momentarily the door operates (open or closed). But if it’s opening and is half way open and I push the GDO again it stops opening and stays in that position. And if it’s going closed and I push the GDO again it stops and goes back open.
It suits to my case!
The problem I have now is that the valid values for value_template are: open / true or closed / false and the binary sensor returns on/off, should I give a try with these values or there is a way to transform them to open/closed ?
One of the examples has the following, should I try it? value_template: "{{ states('sensor.garage_door')|float > 0 }}"
So, if the sensor is closed or off the switch will also be OFF and google home can tell me that.
If the sensor is open google home mini will tell the switchbot is ON
They do not appear to be supported. I am not 100% sure though. Perhaps open a thread about that specific device, as this thread is about a different switchbot device.
note: normally a contact sensor would be a binary open/closed, but switchbot returns “open”, "closed’, and “timeout”. so it is just a sensor with 3 possible values