From 7c5734b752f83c16ddffd0eeddafb16404f25775 Mon Sep 17 00:00:00 2001
From: "piyush.c"
Date: Tue, 14 Feb 2017 15:26:50 +0530
Subject: [PATCH] [DVCSMP-2431] DTH Device Filtering change for ZigBee Devices
---
devicetypes/smartthings/zigbee-dimmer-power.src/README.md | 1 +
.../zigbee-dimmer-power.src/zigbee-dimmer-power.groovy | 1 +
.../zigbee-switch-power.src/zigbee-switch-power.groovy | 1 +
3 files changed, 3 insertions(+)
diff --git a/devicetypes/smartthings/zigbee-dimmer-power.src/README.md b/devicetypes/smartthings/zigbee-dimmer-power.src/README.md
index 130f20c..196101f 100644
--- a/devicetypes/smartthings/zigbee-dimmer-power.src/README.md
+++ b/devicetypes/smartthings/zigbee-dimmer-power.src/README.md
@@ -23,6 +23,7 @@ Works with:
* **Switch** - can detect state (possible values: on/off)
* **Switch Level** - represents current light level, usually 0-100 in percent
* **Health Check** - indicates ability to get device health notifications
+* **Light** - indicates that the device belongs to Light category.
## Device Health
diff --git a/devicetypes/smartthings/zigbee-dimmer-power.src/zigbee-dimmer-power.groovy b/devicetypes/smartthings/zigbee-dimmer-power.src/zigbee-dimmer-power.groovy
index 4bef6a9..87f4a92 100644
--- a/devicetypes/smartthings/zigbee-dimmer-power.src/zigbee-dimmer-power.groovy
+++ b/devicetypes/smartthings/zigbee-dimmer-power.src/zigbee-dimmer-power.groovy
@@ -22,6 +22,7 @@ metadata {
capability "Switch"
capability "Switch Level"
capability "Health Check"
+ capability "Light"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0008, 0B04"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0008, 0702"
diff --git a/devicetypes/smartthings/zigbee-switch-power.src/zigbee-switch-power.groovy b/devicetypes/smartthings/zigbee-switch-power.src/zigbee-switch-power.groovy
index c118fe6..8581252 100644
--- a/devicetypes/smartthings/zigbee-switch-power.src/zigbee-switch-power.groovy
+++ b/devicetypes/smartthings/zigbee-switch-power.src/zigbee-switch-power.groovy
@@ -21,6 +21,7 @@ metadata {
capability "Sensor"
capability "Switch"
capability "Health Check"
+ capability "Light"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0B04"
fingerprint profileId: "0104", inClusters: "0000, 0003, 0004, 0005, 0006, 0702"