Fixing value field type in events
authoramiraj <amiraj.95@uci.edu>
Sat, 1 Feb 2020 01:26:26 +0000 (17:26 -0800)
committeramiraj <amiraj.95@uci.edu>
Sat, 1 Feb 2020 01:26:26 +0000 (17:26 -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 a0dcb75..61f5a92 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 7483f2e..83c88b9 100644 (file)
@@ -1,2 +1,2 @@
-                       carbonDioxideMeasurementObject.setValue([name: "carbonDioxide", value: 45, deviceId: "carbonDioxideID0", descriptionText: "",
+                       carbonDioxideMeasurementObject.setValue([name: "carbonDioxide", value: "45", deviceId: "carbonDioxideID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index e2a4db6..85d255b 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 a9772a4..9f2ded3 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 ed5bc5b..12ec029 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 d6f47f5..c13fe92 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 de5fbae..2f54a4a 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 aebe729..8485e9a 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 a0d4deb..cd1ae02 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 1a01e1c..55ea84f 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 a0d4deb..cd1ae02 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 05b5d7c..e296ebd 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 bb6efd0..fe96531 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 9dd3d20..b0cd918 100644 (file)
@@ -1,2 +1,2 @@
-                       signalStrengthObject.setValue([name: "lqi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
+                       signalStrengthObject.setValue([name: "lqi", value: "70", deviceId: "signalStrengthID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index a35ee60..57730f3 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 2efdb03..cf52512 100644 (file)
@@ -1,2 +1,2 @@
-                       pHMeasurementObject.setValue([name: "pH", value: 40, deviceId: "pHMeasurementID0", descriptionText: "",
+                       pHMeasurementObject.setValue([name: "pH", value: "40", deviceId: "pHMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 72c09ad..b84d5ea 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 72c09ad..b84d5ea 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 86f03b2..9a7bd85 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 8cc4aae..68e0f75 100644 (file)
@@ -1,2 +1,2 @@
-                       sensorObject.setValue([name: "pressure", value: 40, deviceId: "sensorID0", descriptionText: "",
+                       sensorObject.setValue([name: "pressure", value: "40", deviceId: "sensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index f45cdf6..47e33e5 100644 (file)
@@ -1,2 +1,2 @@
-                       signalStrengthObject.setValue([name: "rssi", value: 70, deviceId: "signalStrengthID0", descriptionText: "",
+                       signalStrengthObject.setValue([name: "rssi", value: "70", deviceId: "signalStrengthID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 32f6e60..e0c9e54 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 be35115..9917b56 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 410608a..8e9bd1e 100644 (file)
@@ -1,2 +1,2 @@
-                       soundSensorObject.setValue([name: "sound", value: 54, deviceId: "soundSensorID0", descriptionText: "",
+                       soundSensorObject.setValue([name: "sound", value: "54", deviceId: "soundSensorID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 98788aa..e5dc02b 100644 (file)
@@ -1,2 +1,2 @@
-                       soundPressureLevelObject.setValue([name: "soundPressureLevel", value: 70, deviceId: "soundPressureLevelID0", descriptionText: "",
+                       soundPressureLevelObject.setValue([name: "soundPressureLevel", value: "70", deviceId: "soundPressureLevelID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])
index 4e9547d..51b9f3d 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 7b37ea8..2ed4014 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 21cf298..3714a7f 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 b609d29..993b16b 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 f3a2f8a..0757765 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 bdbfb45..18ce77a 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 40189c2..359bc70 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 114161c..c720f9e 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 6c6aee0..ce44368 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 3457813..13801b9 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 cfa66e4..3103146 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 07c36d6..4ab6d7e 100644 (file)
@@ -1,2 +1,2 @@
-                       voltageMeasurementObject.setValue([name: "voltage", value: 22, deviceId: "voltageMeasurementID0", descriptionText: "",
+                       voltageMeasurementObject.setValue([name: "voltage", value: "22", deviceId: "voltageMeasurementID0", descriptionText: "",
                                        displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])