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.
Thanks
Stuart
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
2
Hi Stuart… interesting use case! but that’s not really “the way Things work”… at least not standard SmartApp integrations.
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”.