Carousel Tiles / Actions

Can a carousel tile initiate actions? Meaning like a standard tile:

standardTile(“switch”, “device.switch”, width: 1, height: 1, canChangeIcon: true, canChangeBackground: true) {
state “on”, label:‘${name}’, action:“switch.off”, icon:“st.lights.philips.hue-single”, backgroundColor: “#79b821
state “off”, label:‘${name}’, action:“switch.on”, icon:“st.lights.philips.hue-single”, backgroundColor: “#ffffff
}

More broadly, are there any tiles other than a standard tile that can initiate an action?

1 Like

If so, then it’s not documented; so “no?”… Only standardTiles and controlTiles (though, what type of tiles are the up and down arrows that folks have used for implementing thermostats … let me look up some sample code: Ah … just standardTiles with custom icons and background…).

smartthings-devices/Better-Thermostat.device.groovy at master · twack/smartthings-devices · GitHub

SmartThings Docs:
docs.smartthings.com/en/latest/device-type-developers-guide/tiles-metadata.html#tile-definitions

Thanks Terry. That’s what I thought.

Its too bad – I think a carouselTile would be a great way to display a series of individual lights / switches (using a picture of each light / switch).

I was hoping to run a specific action by clicking on the picture shown.

1 Like