From c549a5bed09f5b47dd5b966955248b7b48407a2e Mon Sep 17 00:00:00 2001 From: twack Date: Tue, 4 Jul 2017 08:10:09 -0700 Subject: [PATCH] Added check valve initial state in installed() --- .../smartthings/zwave-water-valve.src/zwave-water-valve.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/devicetypes/smartthings/zwave-water-valve.src/zwave-water-valve.groovy b/devicetypes/smartthings/zwave-water-valve.src/zwave-water-valve.groovy index 4636291..6660640 100644 --- a/devicetypes/smartthings/zwave-water-valve.src/zwave-water-valve.groovy +++ b/devicetypes/smartthings/zwave-water-valve.src/zwave-water-valve.groovy @@ -58,6 +58,7 @@ metadata { def installed() { // 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]) + response(refresh()) } def updated() {