I've got a Shelly 1 I'm developing a custom device driver for and have everything working (seemingly). That being, as a switch and a contact.
I want to use this thing to monitor the opened/closed state of a garage door (the contact), and actuate the garage door open/close (the switch).
The driver uses MQTT and I've developed it based off of a generic MQTT driver and it talks to a server I've got running on a Synology NAS.
Anyway, everything seems to work fine and I can control the open/close switch via a dashboard tile (switch). And I can monitor the opened/closed state of the door contact via another dashboard tile (contact).
What I really want instead, is a single dashboard tile that can both control the door switch and display the contact state.
I've done a bunch of digging and playing around with a couple solutions I thought might work, one being "pmckinnon" Virtual Garage Door Manager, which is an app that you use and add a virtual garage door driver/device, and point the manager to your switch and your contact, which in my case is the same device, the Shelly 1. The dashboard tile I set up using the Garage Control template and so on. The virtual garage door device doesn't talk to the Shelly 1 I've pointed to via the app for some reason, so I'm not sure what the deal is. So obviously the dashboard tile won't work either.
Anyone have any ideas, as I've been spinning my wheels on this for a couple weeks??