I am in the process of developing a custom garage door integration and can get the basic functionality working, however, I would like to include an obstruction detection warning in HA so that a user can be warned if the garage door can’t be opened or shut due to an obstruction.
I and configuring the device through the MQTT Discovery method but but don’t see a way of defining an “obstruction detection” state
Have you made any progress with this? I have an MQTT implementation on a ESP that works with HA Cover and the state_opening, state_closing, state_open and state_closed are all passed and all work fine.
My door opener will detect the “obstructed” state and can send it to HA, However I can’t find a way of that state being detected by HA and once detected it being passed to Homekit.
I’m trying to migrate from Homebridge and the “stopped” state there is interpreted as “obstructed” by Homekit. However in HA “state_stopped” causes the logic to view that the door has come to the end of its travel (whatever direction it was moving in). This gives the false view that the door (say) has correctly closed which I would like to avoid.