From: Seyed Amir Hossein Aqajari Date: Fri, 28 Feb 2020 19:33:28 +0000 (-0800) Subject: Changes in old infra X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b3bd157963fe9abe6bd00283d5c84d3e8cbee437;p=smartthings-infrastructure.git Changes in old infra --- diff --git a/ColorControl/ColorControls.groovy b/ColorControl/ColorControls.groovy index a2c93de..8a3f08d 100644 --- a/ColorControl/ColorControls.groovy +++ b/ColorControl/ColorControls.groovy @@ -13,7 +13,7 @@ public class ColorControls { private String displayName = "colorControl0" private String color = "Red" private String currentColor = "Red" - private String currentSwitch = "on" + private String currentSwitch = "off" private int level = 50 private int currentLevel = 50 private int hue = 50 @@ -38,7 +38,7 @@ public class ColorControls { this.currentSaturation = 40 this.colorTemperature = 10000 this.color = "Red" - this.currentSwitch = "on" + this.currentSwitch = "off" } else { this.level = 50 this.currentLevel = 50 @@ -48,7 +48,7 @@ public class ColorControls { this.currentSaturation = 50 this.colorTemperature = 15000 this.color = "Blue" - this.currentSwitch = "off" + this.currentSwitch = "on" } colorControls.add(new ColorControl(sendEvent, id, label, displayName, this.color, this.hue, this.saturation, this.level, this.currentSwitch, this.colorTemperature)) }