Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
* ICP-4586 ICP-4613 GE Direct-Wire Outdoor Switch

Adding device-specific fingerprint for an old device.

Also adding polling logic back since the GE device does not automatically report power/energy usage.

* ICP-4586 ICP-4613 GE Direct-Wire Outdoor Switch

missing paren
  • Loading branch information
greens authored and workingmonk committed Apr 16, 2018
1 parent 5cb5424 commit 0473cdc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def installed() {
def updated() {
// Device-Watch simply pings if no device events received for 32min(checkInterval)
sendEvent(name: "checkInterval", value: 2 * 15 * 60 + 2 * 60, displayed: false, data: [protocol: "zwave", hubHardwareId: device.hub.hardwareID])
if (zwaveInfo?.mfr?.equals("0063") { // These old GE devices have to be polled
if (zwaveInfo?.mfr?.equals("0063")) { // These old GE devices have to be polled
unschedule("poll")
runEvery15Minutes("poll")
}
Expand Down

0 comments on commit 0473cdc

Please sign in to comment.