SSVD-2603 Prevent removing of Hue bridge

-Moved warning messages to top of bridge DTH screen
-User is now presented with a warning message when removing
This commit is contained in:
Lars Finander
2016-08-29 15:17:40 -06:00
parent d5b8db99a2
commit cdf5d21e8f
2 changed files with 32 additions and 20 deletions

View File

@@ -28,8 +28,8 @@ metadata {
}
}
valueTile("doNotRemove", "v", decoration: "flat", height: 2, width: 6, inactiveLabel: false) {
state "default", label:'Do not remove'
}
state "default", label:'If removed, Hue lights will not work properly'
}
valueTile("idNumber", "device.idNumber", decoration: "flat", height: 2, width: 6, inactiveLabel: false) {
state "default", label:'ID: ${currentValue}'
}
@@ -38,7 +38,7 @@ metadata {
}
main (["rich-control"])
details(["rich-control", "idNumber", "networkAddress", "doNotRemove"])
details(["rich-control", "doNotRemove", "idNumber", "networkAddress"])
}
}