forked from glynhudson/oem_openHab
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add group LWRF switch, by adding virtual switch and corresponding rul…
…e in .rules config file
- Loading branch information
1 parent
b5b5a9f
commit a6dce46
Showing
4 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//rules | ||
|
||
rule "Switch all LWRF sockets" | ||
when | ||
Item lwrf_all received command | ||
then | ||
lwrf0.sendCommand(receivedCommand) | ||
lwrf1.sendCommand(receivedCommand) | ||
lwrf2.sendCommand(receivedCommand) | ||
lwrf3.sendCommand(receivedCommand) | ||
lwrf4.sendCommand(receivedCommand) | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters