ICP-554 - ocfDeviceType: "oic.d.light"

more
This commit is contained in:
juano2310
2017-04-11 13:55:43 -04:00
parent 36fe6428ab
commit 1f6a27f381
13 changed files with 16 additions and 16 deletions

View File

@@ -5,7 +5,7 @@
*
*/
metadata {
definition (name: "LIFX White Bulb", namespace: "smartthings", author: "LIFX") {
definition (name: "LIFX White Bulb", namespace: "smartthings", author: "LIFX", ocfDeviceType: "oic.d.light") {
capability "Actuator"
capability "Color Temperature"
capability "Switch"
@@ -119,7 +119,7 @@ def off() {
def refresh() {
log.debug "Executing 'refresh'"
def resp = parent.apiGET("/lights/${selector()}")
if (resp.status == 404) {
state.online = false