Adding 2 events for temperature sensors: above and below thresholds.
[smartthings-infrastructure.git] / eventSimulator / temperatureLowMeasurementEvent.groovy
1                         temperatureMeasurementObject.setValue([name: "temperature", value: "45"/*A number between 0 to 100*/, deviceId: "temperatureMeasurementID0", descriptionText: "",
2                                         displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])