private String id = "illuminanceMeasurementsID0"
private String label = "illuminanceMeasurements0"
private String displayName = "illuminanceMeasurements0"
- private int illuminance = 50000
- private int currentIlluminance = 50000
+ private int illuminance = 5
+ private int currentIlluminance = 5
IlluminanceMeasurements(Closure sendEvent, int deviceNumbers, boolean init) {
this.illuminanceMeasurements = []
if (init) {
- this.illuminance = 50000
- this.currentIlluminance = 50000
+ this.illuminance = 5
+ this.currentIlluminance = 5
} else {
- this.illuminance = 60000
- this.currentIlluminance = 60000
+ this.illuminance = 20000
+ this.currentIlluminance = 20000
}
illuminanceMeasurements.add(new IlluminanceMeasurement(id, label, displayName, this.illuminance))