"Faking" garage door states like closing, opening

@qoheleth my garage motor does stop if it senses any blockage while running, but I don’t think there’s any way for me to get at that data. At least based on the pins I can connect to.

@Hellis81 that could work yes, it has crossed my mind. I want to try a cleaner approach first.

So far I have created my own custom component based on the Cover Template and augmented that to support closing and opening states. That seems to be working.

Only thing left is have it refresh automatically after a configurable set of time. So when state changes to opening or closing I’ll set a timer to update the entity state.

I’ve only recent started using Home Assistant so I’m not entirely sure how these custom components work (nor am I that experienced in Python…). I’ll try to find another component that does something similar (with a timer) and base it off that.