X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FbatteryBatteryEvent.groovy;h=61f5a92f95aeaabdcd7ad716fbf0bae8f33791d3;hb=245d74705d4be17cbb7b178e38d959804e480808;hp=a0dcb75b7a06c1a272f6ffe794dcac6716506e08;hpb=13eaa2aa4abc92483f370cd74f1d79b4caafed55;p=smartthings-infrastructure.git diff --git a/eventSimulator/batteryBatteryEvent.groovy b/eventSimulator/batteryBatteryEvent.groovy index a0dcb75..61f5a92 100644 --- a/eventSimulator/batteryBatteryEvent.groovy +++ b/eventSimulator/batteryBatteryEvent.groovy @@ -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"}'])