SSVD-1823 - Z-wave Switch Generic (#1083)

Remove Indicator

Update Name

deviceJoinName
This commit is contained in:
Juan Pablo Risso
2016-07-30 17:14:02 -04:00
committed by GitHub
parent 49eec58de2
commit dba8ea7b99
2 changed files with 147 additions and 9 deletions

View File

@@ -20,7 +20,10 @@ metadata {
capability "Refresh"
capability "Sensor"
fingerprint inClusters: "0x25"
fingerprint mfr:"0063", prod:"4952", deviceJoinName: "Z-Wave Wall Switch"
fingerprint mfr:"0063", prod:"5257", deviceJoinName: "Z-Wave Wall Switch"
fingerprint mfr:"0063", prod:"5052", deviceJoinName: "Z-Wave Plug-In Switch"
fingerprint mfr:"0113", prod:"5257", deviceJoinName: "Z-Wave Wall Switch"
}
// simulator metadata
@@ -60,15 +63,7 @@ metadata {
}
}
def installed(){
initialized()
}
def updated(){
initialized()
}
def initialized() {
switch (ledIndicator) {
case "on":
indicatorWhenOn()