From c650047f318566ce87bdf88f174c9c4498b48445 Mon Sep 17 00:00:00 2001 From: Vinay Rao Date: Wed, 25 Jan 2017 04:12:42 -0800 Subject: [PATCH] ICP-203 Adding Light Capability to hue lights --- devicetypes/smartthings/hue-bloom.src/hue-bloom.groovy | 1 + devicetypes/smartthings/hue-bulb.src/hue-bulb.groovy | 1 + devicetypes/smartthings/hue-lux-bulb.src/hue-lux-bulb.groovy | 3 ++- .../hue-white-ambiance-bulb.src/hue-white-ambiance-bulb.groovy | 1 + 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/devicetypes/smartthings/hue-bloom.src/hue-bloom.groovy b/devicetypes/smartthings/hue-bloom.src/hue-bloom.groovy index ae48f0d..2d6f063 100644 --- a/devicetypes/smartthings/hue-bloom.src/hue-bloom.groovy +++ b/devicetypes/smartthings/hue-bloom.src/hue-bloom.groovy @@ -17,6 +17,7 @@ metadata { capability "Refresh" capability "Sensor" capability "Health Check" + capability "Light" command "setAdjustedColor" command "reset" diff --git a/devicetypes/smartthings/hue-bulb.src/hue-bulb.groovy b/devicetypes/smartthings/hue-bulb.src/hue-bulb.groovy index 143b0b3..b214b42 100644 --- a/devicetypes/smartthings/hue-bulb.src/hue-bulb.groovy +++ b/devicetypes/smartthings/hue-bulb.src/hue-bulb.groovy @@ -18,6 +18,7 @@ metadata { capability "Refresh" capability "Sensor" capability "Health Check" + capability "Light" command "setAdjustedColor" command "reset" diff --git a/devicetypes/smartthings/hue-lux-bulb.src/hue-lux-bulb.groovy b/devicetypes/smartthings/hue-lux-bulb.src/hue-lux-bulb.groovy index d855d38..c221593 100644 --- a/devicetypes/smartthings/hue-lux-bulb.src/hue-lux-bulb.groovy +++ b/devicetypes/smartthings/hue-lux-bulb.src/hue-lux-bulb.groovy @@ -14,7 +14,8 @@ metadata { capability "Switch" capability "Refresh" capability "Sensor" - capability "Health Check" + capability "Health Check" + capability "Light" command "refresh" } diff --git a/devicetypes/smartthings/hue-white-ambiance-bulb.src/hue-white-ambiance-bulb.groovy b/devicetypes/smartthings/hue-white-ambiance-bulb.src/hue-white-ambiance-bulb.groovy index 718ed57..6d1fa16 100644 --- a/devicetypes/smartthings/hue-white-ambiance-bulb.src/hue-white-ambiance-bulb.groovy +++ b/devicetypes/smartthings/hue-white-ambiance-bulb.src/hue-white-ambiance-bulb.groovy @@ -16,6 +16,7 @@ metadata { capability "Switch" capability "Refresh" capability "Health Check" + capability "Light" command "refresh" }