blinds go down, then up again?
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
# main.items | |
Group all | |
Group eg | |
Group:Rollershutter:OR(UP, DOWN) eg_rolladen "Rollladen EG [(%d)]" <rollershutter> (eg) | |
# main.rules | |
rule "toggle_eg_rolladen" | |
when Item eg_rolladen received command | |
then | |
if (eg_rolladen.state != UP) // item OFF or uninitialized | |
eg_rolladen.sendCommand(UP) | |
else | |
eg_rolladen.sendCommand(DOWN) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment