So I have searched and searched but have notgot my head aorund it yet. Basically my drive gates - I can see if they are open or clsoed with a contact sensor that feeds back to Smart Things. I also have a switch that will allow me to either open or close the gates!
But how can I have them merged into one virtual device - that shows if the gates are open or closed and if I click on it when open closes them and closed opens them!
I would be really greatful for any hints, help or pointers as I have jsut started playing with aciton tiles and would love to have a single icon for it in there.
Hi Stuart… interesting use case! but that’s not really “the way Things work”… at least not standard SmartApp integrations.
For a Thing to be compatible with ActionTiles, it must conform to a supported SmartThings “Capability”. ref: One simple home system. A world of possibilities. | SmartThings
Unlike the SmartThings App UI, ActionTiles does not get a definition of the Thing’s “UI” that is defined in the top section of the Device Type handler. There is absolutely no SmartThings API that can read this definition for an arbitrary Thing! That means that ActionTiles’s UI can only conform to claimed Capabilities (and possibly someday, maybe, if we decide to go in that direction… claimed ad hoc custom Attributes and Commands).
ActionTiles (with few exceptions) currently only offers one Capability per Tile. So you can’t have one Tile that is both a “Contact Sensor” and a “Momentary Button”.
But you have a solution: Why not claim Capability “Garage Door Control”? That is an official standard Capability that, indeed, shows current state based on a sensor, as well as offering operation of the Gate! One simple home system. A world of possibilities. | SmartThings
Thanks you got me on the right track! All working now with a bit of logic from webcore!