CON-90 fix for wemo dimming issue

This commit is contained in:
Vinay Rao
2017-02-23 02:41:20 -08:00
parent ccb7b6e49d
commit 12be259779

View File

@@ -113,6 +113,12 @@ def refresh() {
zigbee.onOffRefresh() + zigbee.levelRefresh()
}
def installed() {
if ((device.getDataValue("manufacturer") == "MRVL") && (device.getDataValue("model") == "MZ100")) {
sendEvent(name: "level", value: 100)
}
}
def configure() {
log.debug "Configuring Reporting and Bindings."
// Device-Watch allows 2 check-in misses from device + ping (plus 1 min lag time)