X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=ColorControl%2FColorControl.groovy;h=0e9ced0f3d70afae552600d363ac1ccdd2175ee9;hb=e7a2ccbefad0e44d666b12a8071b6bb8886fec18;hp=a65afbb78e2630ccdf969b096c611a08cf1335f1;hpb=fe6e21b5cf890457c499d55ee0abf070f6689c34;p=smartthings-infrastructure.git diff --git a/ColorControl/ColorControl.groovy b/ColorControl/ColorControl.groovy index a65afbb..0e9ced0 100644 --- a/ColorControl/ColorControl.groovy +++ b/ColorControl/ColorControl.groovy @@ -156,8 +156,6 @@ public class ColorControl { println("The light is changed to on!") sendEvent([name: "switch", value: "on", deviceId: this.id, descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - sendEvent([name: "switch.on", value: "on", deviceId: this.id, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) } } @@ -167,8 +165,6 @@ public class ColorControl { println("The light is changed to off!") sendEvent([name: "switch", value: "off", deviceId: this.id, descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) - sendEvent([name: "switch.off", value: "off", deviceId: this.id, descriptionText: "", - displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}']) } }