Reformat projectionscreen.rules
parent
3e081bff10
commit
a74ab6fc34
|
@ -30,19 +30,19 @@ end
|
|||
// and here is the thing as a window blind
|
||||
rule "Chill Projection Screen"
|
||||
when
|
||||
Item chill_projection_screen received command
|
||||
Item chill_projection_screen received command
|
||||
then
|
||||
switch(receivedCommand.toString.toUpperCase){
|
||||
case "UP": {
|
||||
chill_zone_screen_button_up.sendCommand("ON")
|
||||
switch(receivedCommand.toString.toUpperCase){
|
||||
case "UP": {
|
||||
chill_zone_screen_button_up.sendCommand("ON")
|
||||
}
|
||||
case "STOP": {
|
||||
chill_zone_screen_button_stop.sendCommand("ON")
|
||||
}
|
||||
case "DOWN": {
|
||||
chill_zone_screen_button_down.sendCommand("ON")
|
||||
}
|
||||
}
|
||||
case "STOP": {
|
||||
chill_zone_screen_button_stop.sendCommand("ON")
|
||||
}
|
||||
case "DOWN": {
|
||||
chill_zone_screen_button_down.sendCommand("ON")
|
||||
}
|
||||
}
|
||||
end
|
||||
|
||||
// val maxCount = 1
|
||||
|
|
Loading…
Reference in New Issue