From 8484f18a0e0111c91599c6dd5fc004043da3dbc1 Mon Sep 17 00:00:00 2001 From: CosmicPuppy Date: Thu, 9 Mar 2017 00:05:14 -0800 Subject: [PATCH 1/2] To Nyce sensor DTHs, added Capability "Sensor" per http://docs.smartthings.com/en/latest/device-type-developers-guide/overview.html?highlight=sensor%20actuator#actuator-and-sensor. There are some SmartApps out there using the "Actuator" and "Sensor" Capabilities and this Device doesn't show up for them (e.g., ActionTiles). --- .../smartthings/nyce-motion-sensor.src/nyce-motion-sensor.groovy | 1 + .../nyce-open-closed-sensor.src/nyce-open-closed-sensor.groovy | 1 + 2 files changed, 2 insertions(+) diff --git a/devicetypes/smartthings/nyce-motion-sensor.src/nyce-motion-sensor.groovy b/devicetypes/smartthings/nyce-motion-sensor.src/nyce-motion-sensor.groovy index f48e788..a3ddb49 100644 --- a/devicetypes/smartthings/nyce-motion-sensor.src/nyce-motion-sensor.groovy +++ b/devicetypes/smartthings/nyce-motion-sensor.src/nyce-motion-sensor.groovy @@ -21,6 +21,7 @@ metadata { capability "Configuration" capability "Battery" capability "Refresh" + capability "Sensor" command "enrollResponse" diff --git a/devicetypes/smartthings/nyce-open-closed-sensor.src/nyce-open-closed-sensor.groovy b/devicetypes/smartthings/nyce-open-closed-sensor.src/nyce-open-closed-sensor.groovy index 7f75068..8c66292 100644 --- a/devicetypes/smartthings/nyce-open-closed-sensor.src/nyce-open-closed-sensor.groovy +++ b/devicetypes/smartthings/nyce-open-closed-sensor.src/nyce-open-closed-sensor.groovy @@ -24,6 +24,7 @@ metadata { capability "Contact Sensor" capability "Refresh" capability "Health Check" + capability "Sensor" command "enrollResponse" From e3168793bdb42e16298a7fa76600d5f15b9519e1 Mon Sep 17 00:00:00 2001 From: CosmicPuppy Date: Sat, 11 Mar 2017 00:47:36 -0800 Subject: [PATCH 2/2] To Fibaro Flood Sensor DTHs, added Capability "Sensor" per http://docs.smartthings.com/en/latest/device-type-developers-guide/overview.html?highlight=sensor%20actuator#actuator-and-sensor. There are some SmartApps out there using the "Actuator" and "Sensor" Capabilities and this Device doesn't show up for them (e.g., ActionTiles). --- .../fibaro-flood-sensor.src/fibaro-flood-sensor.groovy | 1 + 1 file changed, 1 insertion(+) diff --git a/devicetypes/smartthings/fibaro-flood-sensor.src/fibaro-flood-sensor.groovy b/devicetypes/smartthings/fibaro-flood-sensor.src/fibaro-flood-sensor.groovy index ed01e44..9dc3ab2 100644 --- a/devicetypes/smartthings/fibaro-flood-sensor.src/fibaro-flood-sensor.groovy +++ b/devicetypes/smartthings/fibaro-flood-sensor.src/fibaro-flood-sensor.groovy @@ -40,6 +40,7 @@ metadata { capability "Configuration" capability "Battery" capability "Health Check" + capability "Sensor" command "resetParams2StDefaults" command "listCurrentParams"