From b3bd157963fe9abe6bd00283d5c84d3e8cbee437 Mon Sep 17 00:00:00 2001 From: Seyed Amir Hossein Aqajari Date: Fri, 28 Feb 2020 11:33:28 -0800 Subject: [PATCH] Changes in old infra --- ColorControl/ColorControls.groovy | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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)) } -- 2.34.1