import reguł

This commit is contained in:
root
2018-07-01 21:48:20 +02:00
parent 78d4c6c5e1
commit 1d85c1669f
13 changed files with 466 additions and 0 deletions

12
rules/kuchnia.rules Normal file
View File

@@ -0,0 +1,12 @@
rule "Kuchnia: przełącz LED"
when
Item sD1MINI02LEDS received update
then
if (sD1MINI02MOS.state == ON) {
sD1MINI02MOS.sendCommand(OFF)
/* zrobic PWM DIMM */
} else {
sD1MINI02MOS.sendCommand(ON)
}
end