I’ve gone through updating the device, re-logged into the app.
Deleted the device and then re-added it…
Can’t seem to get any actions (other than the main tile) to trigger from the app, only the IDE when using the real device.
What did I miss here?
// UI tile definitions
tiles {
standardTile("switch", "device.switch", width: 2, height: 2, canChangeIcon: true, canChangeBackground: true) {
state "on", label: 'Moving', action: "switch.off", icon: "st.switches.switch.on", backgroundColor: "#79b821"
state "off", label: 'Stopped', action: "switch.on", icon: "st.switches.switch.off", backgroundColor: "#ffffff"
}
standardTile("hState", "device.position", width: 1, height: 1, canChangeIcon: true, canChangeBackground: false) {
state "high", label: '>High<', action: "", backgroundColor: "#ffffff"
state "mid", label: 'High', action: "position.high", backgroundColor: "#d04e00"
state "low", label: 'High', action: "position.high", backgroundColor: "#d04e00"
}
standardTile("mState", "device.position", width: 1, height: 1, canChangeIcon: true, canChangeBackground: false) {
state "high", label: 'Mid', action: "position.mid", backgroundColor: "#d04e00"
state "mid", label: '>Mid<', action: "", backgroundColor: "#ffffff"
state "low", label: 'Mid', action: "position.mid", backgroundColor: "#d04e00"
}
standardTile("lState", "device.position", width: 1, height: 1, canChangeIcon: true, canChangeBackground: false) {
state "high", label: 'Low', action: "position.low", backgroundColor: "#d04e00"
state "mid", label: 'Low', action: "position.low", backgroundColor: "#d04e00"
state "low", label: '>Low<', action: "", backgroundColor: "#ffffff"
}
standardTile("dummy", "device.position", width: 2, height: 1, canChangeIcon: true, canChangeBackground: false) {
state "high", label: 'High', action: "", backgroundColor: "#79b821"
state "mid", label: 'Mid', action: "", backgroundColor: "#79b821"
state "low", label: 'Low', action: "", backgroundColor: "#79b821"
}
main "switch"
details "switch","hState","mState","dummy","lState"
}