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
this.currentSaturation = 40
this.colorTemperature = 10000
this.color = "Red"
- this.currentSwitch = "on"
+ this.currentSwitch = "off"
} else {
this.level = 50
this.currentLevel = 50
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))
}