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