capability "Refresh"
valueTile("tamper", "device.tamper") {
state "tamper", label:'${currentValue}', action:"refresh.refresh"
}
def refresh() {
sendEvent(name: "tamper", value: "new value", displayed: false)
}
Pressing the tile does nothing - it does not change the value, nor it gives any indication that the tile is clickable.
What am I missing?