If you look at the heading of the device handler you will see the different status options for each of the fields, and the ‘changing’ state is what I meant, rather than ‘pending’. You will probably want the armhome or armaway fields changing to ‘changing’ but note this is only possible when you have used ST to change alarm status (if you have done it on the alarm panel itself then there are no triggers reveived).
Have copied a small section of the code below for ease of access but hopefully this makes sense:
tiles (scale: 2)
{
multiAttributeTile(name:"AlarmStatus", type: "generic", width: 6, height: 3, decoration:"flat")
{
tileAttribute ("device.status", key: "PRIMARY_CONTROL")
{
attributeState "disarmed", label:'${name}', icon: "st.security.alarm.off", backgroundColor: "#505050"
attributeState "home", label:'${name}', icon: "st.Home.home4", backgroundColor: "#00BEAC"
attributeState "away", label:'${name}', icon: "st.security.alarm.on", backgroundColor: "#008CC1"
attributeState "alarm", label:'${name}', icon: "st.security.alarm.on", backgroundColor: "#d44556"
}
tileAttribute("device.events", key: "SECONDARY_CONTROL", wordWrap: true)
{
attributeState("default", label:'${currentValue}')
}
}
standardTile("VArmAway", "armaway", height: 2, width:2, decoration:"flat", inactiveLabel: false)
{
state "inactive", label:"Away", action:"AlarmArmAway", backgroundColor:"#D8D8D8"
state "changing", label:"Arming Away", action:"", backgroundColor:"#FF9900"
state "active", label:"Armed Away", action:"", backgroundColor:"#00CC00"
}
standardTile("VArmHome", "armhome", height: 2, width: 2, decoration:"flat", inactiveLabel: false)
{
state "inactive", label:"Home", action:"AlarmArmHome", backgroundColor:"#D8D8D8"
state "changing", label:"Arming Home", action:"", backgroundColor:"#FF9900"
state "active", label:"Armed Home", action:"", backgroundColor:"#00CC00"
}
standardTile("VDisarm", "disarm", height: 2, width: 2, decoration:"flat", inactiveLabel: false)
{
state "inactive", label:"Disarm", action:"AlarmDisarm", backgroundColor:"#D8D8D8"
state "changing", label:"Disarming", action:"", backgroundColor:"#FF9900"
state "active", label:"Disarmed", action:"", backgroundColor:"#00CC00"
}