From 43bedd41a8430bd5dbf88ee56fa61cab25872a5a Mon Sep 17 00:00:00 2001 From: CosmicPuppy Date: Mon, 3 Apr 2017 00:21:11 -0700 Subject: [PATCH] To Wattvision power metering Sensor DTH, added Capability "Sensor" per http://docs.smartthings.com/en/latest/device-type-developers-guide/overview.html?highlight=sensor%20actuator#actuator-and-sensor. --- devicetypes/smartthings/wattvision.src/wattvision.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/devicetypes/smartthings/wattvision.src/wattvision.groovy b/devicetypes/smartthings/wattvision.src/wattvision.groovy index e87a344..e2d136c 100644 --- a/devicetypes/smartthings/wattvision.src/wattvision.groovy +++ b/devicetypes/smartthings/wattvision.src/wattvision.groovy @@ -20,6 +20,7 @@ metadata { definition(name: "Wattvision", namespace: "smartthings", author: "Steve Vlaminck") { capability "Power Meter" capability "Refresh" + capability "Sensor" attribute "powerContent", "string" }