X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=SwitchLevel%2FSwitchLevel.groovy;h=b4d09f7c9199e040e3788b7b21613974d616d331;hb=99cb061a37c14b85e58882a9e82b6c8dd9e9188b;hp=364a886059d58e6d4f6b42f863994fe1fea2843a;hpb=5c18eab809cec914a04f4a57154a34e57c27e031;p=smartthings-infrastructure.git diff --git a/SwitchLevel/SwitchLevel.groovy b/SwitchLevel/SwitchLevel.groovy index 364a886..b4d09f7 100644 --- a/SwitchLevel/SwitchLevel.groovy +++ b/SwitchLevel/SwitchLevel.groovy @@ -37,7 +37,7 @@ public class SwitchLevel extends SmartThing { } def setLevel(long newValue) { - setLevel((int) newValue) { + setLevel((int) newValue) } def setLevel(int newValue) {