mirror of
https://github.com/mtan93/SmartThingsPublic.git
synced 2026-03-08 05:31:56 +00:00
removed semi colons
This commit is contained in:
@@ -68,10 +68,10 @@ private void updateAll(devices) {
|
|||||||
switch(command) {
|
switch(command) {
|
||||||
case "on":
|
case "on":
|
||||||
devices.on()
|
devices.on()
|
||||||
break;
|
break
|
||||||
case "off":
|
case "off":
|
||||||
devices.off()
|
devices.off()
|
||||||
break;
|
break
|
||||||
default:
|
default:
|
||||||
httpError(403, "Access denied. This command is not supported by current capability.")
|
httpError(403, "Access denied. This command is not supported by current capability.")
|
||||||
}
|
}
|
||||||
@@ -89,10 +89,10 @@ private void update(devices) {
|
|||||||
switch(command) {
|
switch(command) {
|
||||||
case "on":
|
case "on":
|
||||||
device.on()
|
device.on()
|
||||||
break;
|
break
|
||||||
case "off":
|
case "off":
|
||||||
device.off()
|
device.off()
|
||||||
break;
|
break
|
||||||
default:
|
default:
|
||||||
httpError(403, "Access denied. This command is not supported by current capability.")
|
httpError(403, "Access denied. This command is not supported by current capability.")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user