I wrote my own “Thing” with an Arduino and a ThingShield - It’s a garage door controller for my two-door garage and it works perfectly. I now want to subscribe to events from my Thing so i can take actions based on them. My device type handler i wrote is named “Garage”. According to the support “documentation” here, I should be able to specify device.<device type name> to pick my device type in an app like so:
input "theGarage", "device.Garage", title: "Pick the garage", required: true
specifically, the documentation says:
The device type name can be one of the standard device types or the name of a device handler you have created.
However, I cannot get this to work. I have tried using the name of my device type “Garage” and the name of the installed instance of that device type “MyGarage” - no joy either way. I can “trick” the system by checking off one of the capability boxes in the device type and then using capability.<capability I don’t actually support> to be able to actually pick it in my app.
So, how does one go about subscribing to events from a custom device type that doesn’t supply one of the standard capabilities?