I’m struggling to understand how the switch is the indicator of the status. Are you saying that you set a virtual switch to be an indicator of the status of the garage door?
Are you aware that there are some apps that can be used to control garage doors with the help of a trigger and a contact sensor (or tilt sensor)? When used, the garage door template can be used in dashboards. Is that what you are looking for?
There are a few - this is the one I use for that purpose: