X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=eventSimulator%2FswitchLevelOnEvent.groovy;h=d9cbcf50f4113dc78d4f83cb8be2beea230bfba5;hb=83071d3bcfc33f015ece13868342644498a9dda3;hp=2d534c97e2bd7c3dcd46358bd778ed6f116d3efd;hpb=6a9540f69ca09047c6b4f65e49e710840dba81c0;p=smartthings-infrastructure.git diff --git a/eventSimulator/switchLevelOnEvent.groovy b/eventSimulator/switchLevelOnEvent.groovy index 2d534c9..d9cbcf5 100644 --- a/eventSimulator/switchLevelOnEvent.groovy +++ b/eventSimulator/switchLevelOnEvent.groovy @@ -1,2 +1,2 @@ - switchLevelObject.setValue([name: "switch", value: "on", deviceId: "switchLevelID0", descriptionText: "", + switchLevelObject[0].setValue([name: "switch", value: "on", deviceId: "switchLevelID0", descriptionText: "", displayed: true, linkText: "", isStateChange: false, unit: "", data: '{"info": "info"}'])