Change value field in events
authoramiraj <amiraj.95@uci.edu>
Wed, 29 Jan 2020 23:33:11 +0000 (15:33 -0800)
committeramiraj <amiraj.95@uci.edu>
Wed, 29 Jan 2020 23:33:11 +0000 (15:33 -0800)
37 files changed:
eventSimulator/batteryBatteryEvent.groovy
eventSimulator/carbonDioxideEvent.groovy
eventSimulator/colorLevelChangeEvent.groovy
eventSimulator/colorTemperatureEvent.groovy
eventSimulator/coolingSetpointEvent.groovy
eventSimulator/energyMeterEvent.groovy
eventSimulator/heatingSetpointEvent.groovy
eventSimulator/hueChangeEvent.groovy
eventSimulator/humidityHighMeasurementEvent.groovy
eventSimulator/humidityLowMeasurementEvent.groovy
eventSimulator/humidityMeasurementEvent.groovy
eventSimulator/illuminanceMeasurementHighEvent.groovy
eventSimulator/illuminanceMeasurementLowEvent.groovy
eventSimulator/lqiEvent.groovy
eventSimulator/musicPlayerLevelEvent.groovy
eventSimulator/pHEvent.groovy
eventSimulator/powerMeterEvent.groovy
eventSimulator/powerMeterHighPowerEvent.groovy
eventSimulator/powerMeterLowPowerEvent.groovy
eventSimulator/pressureEvent.groovy
eventSimulator/rssiEvent.groovy
eventSimulator/saturationChangeEvent.groovy
eventSimulator/smokeDetectorBatteryEvent.groovy
eventSimulator/soundEvent.groovy
eventSimulator/soundPressureLevelEvent.groovy
eventSimulator/stepGoalHighEvent.groovy
eventSimulator/stepGoalLowEvent.groovy
eventSimulator/stepStepsHighEvent.groovy
eventSimulator/stepStepsLowEvent.groovy
eventSimulator/switchLevelChangeEvent.groovy
eventSimulator/switchLevelEvent.groovy
eventSimulator/temperatureHighEvent.groovy
eventSimulator/temperatureHighMeasurementEvent.groovy
eventSimulator/temperatureLowEvent.groovy
eventSimulator/temperatureLowMeasurementEvent.groovy
eventSimulator/thermostatSetpointEvent.groovy
eventSimulator/voltageEvent.groovy

index 61f5a92..a0dcb75 100644 (file)
@@ -1,2 +1,2 @@
-                       batteryObject[0].setValue([name: "battery", value: "50"/*number between 0 to 100 as a string*/, deviceId: "batteryID0", descriptionText: "",
+                       batteryObject[0].setValue([name: "battery", value: 50/*number between 0 to 100 as a string*/, deviceId: "batteryID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index e4f712b..1b951e0 100644 (file)
@@ -1,2 +1,2 @@
-                       carbonDioxideMeasurementObject[0].setValue([name: "carbonDioxide", value: "45", deviceId: "carbonDioxideID0", descriptionText: "",
+                       carbonDioxideMeasurementObject[0].setValue([name: "carbonDioxide", value: 45, deviceId: "carbonDioxideID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 85d255b..e2a4db6 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject[0].setValue([name: "level", value: "50", deviceId: "colorControlID0", descriptionText: "",
+                       colorControlObject[0].setValue([name: "level", value: 50, deviceId: "colorControlID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 9f2ded3..a9772a4 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject[0].setValue([name: "colorTemperature", value: "50", deviceId: "colorControlID0", descriptionText: "",
+                       colorControlObject[0].setValue([name: "colorTemperature", value: 50, deviceId: "colorControlID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 12ec029..ed5bc5b 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject[0].setValue([name: "coolingSetpoint", value: "60", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "coolingSetpoint", value: 60, deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index c13fe92..d6f47f5 100644 (file)
@@ -1,2 +1,2 @@
-                       energyMeterObject[0].setValue([name: "energy", value: "45"/*A number between 0 to 100 as a charge*/, deviceId: "energyMeterID0", descriptionText: "",
+                       energyMeterObject[0].setValue([name: "energy", value: 45/*A number between 0 to 100 as a charge*/, deviceId: "energyMeterID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 2f54a4a..de5fbae 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject[0].setValue([name: "heatingSetpoint", value: "40", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "heatingSetpoint", value: 40, deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 8485e9a..aebe729 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject[0].setValue([name: "hue", value: "50", deviceId: "colorControlID0", descriptionText: "",
+                       colorControlObject[0].setValue([name: "hue", value: 50, deviceId: "colorControlID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index cd1ae02..a0d4deb 100644 (file)
@@ -1,2 +1,2 @@
-                       humidityMeasurementObject[0].setValue([name: "humidity", value: "70"/*A number between 0 to 100 as a charge*/, deviceId: "humidityMeasurementID0", descriptionText: "",
+                       humidityMeasurementObject[0].setValue([name: "humidity", value: 70/*A number between 0 to 100 as a charge*/, deviceId: "humidityMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 55ea84f..1a01e1c 100644 (file)
@@ -1,2 +1,2 @@
-                       humidityMeasurementObject[0].setValue([name: "humidity", value: "30"/*A number between 0 to 100 as a charge*/, deviceId: "humidityMeasurementID0", descriptionText: "",
+                       humidityMeasurementObject[0].setValue([name: "humidity", value: 30/*A number between 0 to 100 as a charge*/, deviceId: "humidityMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index cd1ae02..a0d4deb 100644 (file)
@@ -1,2 +1,2 @@
-                       humidityMeasurementObject[0].setValue([name: "humidity", value: "70"/*A number between 0 to 100 as a charge*/, deviceId: "humidityMeasurementID0", descriptionText: "",
+                       humidityMeasurementObject[0].setValue([name: "humidity", value: 70/*A number between 0 to 100 as a charge*/, deviceId: "humidityMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index e296ebd..05b5d7c 100644 (file)
@@ -1,2 +1,2 @@
-                       illuminanceMeasurementObject[0].setValue([name: "illuminance", value: "100"/*A number between 0 to 100 as a charge*/, deviceId: "illuminanceMeasurementID0", descriptionText: "",
+                       illuminanceMeasurementObject[0].setValue([name: "illuminance", value: 100/*A number between 0 to 100 as a charge*/, deviceId: "illuminanceMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index fe96531..bb6efd0 100644 (file)
@@ -1,2 +1,2 @@
-                       illuminanceMeasurementObject[0].setValue([name: "illuminance", value: "0"/*A number between 0 to 100 as a charge*/, deviceId: "illuminanceMeasurementID0", descriptionText: "",
+                       illuminanceMeasurementObject[0].setValue([name: "illuminance", value: 0/*A number between 0 to 100 as a charge*/, deviceId: "illuminanceMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index afd4743..aee8917 100644 (file)
@@ -1,2 +1,2 @@
-                       signalStrengthObject[0].setValue([name: "lqi", value: "70", deviceId: "signalStrengthID0", descriptionText: "",
+                       signalStrengthObject[0].setValue([name: "lqi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 57730f3..a35ee60 100644 (file)
@@ -1,2 +1,2 @@
-                       musicPlayerObject[0].setValue([name: "level", value: "36"/*A number between 0 to 100 as a charge*/, deviceId: "musicPlayerID0", descriptionText: "",
+                       musicPlayerObject[0].setValue([name: "level", value: 36/*A number between 0 to 100 as a charge*/, deviceId: "musicPlayerID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 22d2a6d..200cafe 100644 (file)
@@ -1,2 +1,2 @@
-                       pHMeasurementObject[0].setValue([name: "pH", value: "40", deviceId: "pHMeasurementID0", descriptionText: "",
+                       pHMeasurementObject[0].setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index b84d5ea..72c09ad 100644 (file)
@@ -1,2 +1,2 @@
-                       powerMeterObject[0].setValue([name: "power", value: "70"/*A number between 0 to 100 as a charge*/, deviceId: "powerMeterID0", descriptionText: "",
+                       powerMeterObject[0].setValue([name: "power", value: 70/*A number between 0 to 100 as a charge*/, deviceId: "powerMeterID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index b84d5ea..72c09ad 100644 (file)
@@ -1,2 +1,2 @@
-                       powerMeterObject[0].setValue([name: "power", value: "70"/*A number between 0 to 100 as a charge*/, deviceId: "powerMeterID0", descriptionText: "",
+                       powerMeterObject[0].setValue([name: "power", value: 70/*A number between 0 to 100 as a charge*/, deviceId: "powerMeterID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 9a7bd85..86f03b2 100644 (file)
@@ -1,2 +1,2 @@
-                       powerMeterObject[0].setValue([name: "power", value: "30"/*A number between 0 to 100 as a charge*/, deviceId: "powerMeterID0", descriptionText: "",
+                       powerMeterObject[0].setValue([name: "power", value: 30/*A number between 0 to 100 as a charge*/, deviceId: "powerMeterID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index f2fd896..95b897f 100644 (file)
@@ -1,2 +1,2 @@
-                       sensorObject[0].setValue([name: "pressure", value: "40", deviceId: "sensorID0", descriptionText: "",
+                       sensorObject[0].setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 28e8cef..a0d49e5 100644 (file)
@@ -1,2 +1,2 @@
-                       signalStrengthObject[0].setValue([name: "rssi", value: "70", deviceId: "signalStrengthID0", descriptionText: "",
+                       signalStrengthObject[0].setValue([name: "rssi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index e0c9e54..32f6e60 100644 (file)
@@ -1,2 +1,2 @@
-                       colorControlObject[0].setValue([name: "saturation", value: "50", deviceId: "colorControlID0", descriptionText: "",
+                       colorControlObject[0].setValue([name: "saturation", value: 50, deviceId: "colorControlID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 9917b56..be35115 100644 (file)
@@ -1,2 +1,2 @@
-                       smokeDetectorObject[0].setValue([name: "battery", value: "5"/*A number between 0 to 100 as a charge*/, deviceId: "smokeDetectorID0", descriptionText: "",
+                       smokeDetectorObject[0].setValue([name: "battery", value: 5/*A number between 0 to 100 as a charge*/, deviceId: "smokeDetectorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 974661e..418c796 100644 (file)
@@ -1,2 +1,2 @@
-                       soundSensorObject[0].setValue([name: "sound", value: "54", deviceId: "soundSensorID0", descriptionText: "",
+                       soundSensorObject[0].setValue([name: "sound", value: 54, deviceId: "soundSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index f4dc37d..293302c 100644 (file)
@@ -1,2 +1,2 @@
-                       soundPressureLevelObject[0].setValue([name: "soundPressureLevel", value: "70", deviceId: "soundPressureLevelID0", descriptionText: "",
+                       soundPressureLevelObject[0].setValue([name: "soundPressureLevel", value: 70, deviceId: "soundPressureLevelID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 51b9f3d..4e9547d 100644 (file)
@@ -1,2 +1,2 @@
-                       stepSensorObject[0].setValue([name: "goal", value: "70"/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
+                       stepSensorObject[0].setValue([name: "goal", value: 70/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 2ed4014..7b37ea8 100644 (file)
@@ -1,2 +1,2 @@
-                       stepSensorObject[0].setValue([name: "goal", value: "40"/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
+                       stepSensorObject[0].setValue([name: "goal", value: 40/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 3714a7f..21cf298 100644 (file)
@@ -1,2 +1,2 @@
-                       stepSensorObject[0].setValue([name: "steps", value: "100"/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
+                       stepSensorObject[0].setValue([name: "steps", value: 100/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 993b16b..b609d29 100644 (file)
@@ -1,2 +1,2 @@
-                       stepSensorObject[0].setValue([name: "steps", value: "50"/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
+                       stepSensorObject[0].setValue([name: "steps", value: 50/*A number*/, deviceId: "stepSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 0757765..f3a2f8a 100644 (file)
@@ -1,2 +1,2 @@
-                       switchObject[0].setValue([name: "level", value: "45", deviceId: "switchID0", descriptionText: "",
+                       switchObject[0].setValue([name: "level", value: 45, deviceId: "switchID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 18ce77a..bdbfb45 100644 (file)
@@ -1,2 +1,2 @@
-                       switchLevelObject[0].setValue([name: "level", value: "45"/*A number between 0 to 100*/, deviceId: "switchLevelID0", descriptionText: "",
+                       switchLevelObject[0].setValue([name: "level", value: 45/*A number between 0 to 100*/, deviceId: "switchLevelID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 359bc70..40189c2 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject[0].setValue([name: "temperature", value: "55", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "temperature", value: 55, deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index c720f9e..114161c 100644 (file)
@@ -1,2 +1,2 @@
-                       temperatureMeasurementObject[0].setValue([name: "temperature", value: "55"/*A number between 0 to 100*/, deviceId: "temperatureMeasurementID0", descriptionText: "",
+                       temperatureMeasurementObject[0].setValue([name: "temperature", value: 55/*A number between 0 to 100*/, deviceId: "temperatureMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index ce44368..6c6aee0 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject[0].setValue([name: "temperature", value: "45", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "temperature", value: 45, deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 13801b9..3457813 100644 (file)
@@ -1,2 +1,2 @@
-                       temperatureMeasurementObject[0].setValue([name: "temperature", value: "45"/*A number between 0 to 100*/, deviceId: "temperatureMeasurementID0", descriptionText: "",
+                       temperatureMeasurementObject[0].setValue([name: "temperature", value: 45/*A number between 0 to 100*/, deviceId: "temperatureMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 3103146..cfa66e4 100644 (file)
@@ -1,2 +1,2 @@
-                       thermostatObject[0].setValue([name: "thermostatSetpoint", value: "50", deviceId: "thermostatID0", descriptionText: "",
+                       thermostatObject[0].setValue([name: "thermostatSetpoint", value: 50, deviceId: "thermostatID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 3c93513..4ea2307 100644 (file)
@@ -1,2 +1,2 @@
-                       voltageMeasurementObject[0].setValue([name: "voltage", value: "22", deviceId: "voltageMeasurementID0", descriptionText: "",
+                       voltageMeasurementObject[0].setValue([name: "voltage", value: 22, deviceId: "voltageMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])