import reguł
This commit is contained in:
12
rules/kuchnia.rules
Normal file
12
rules/kuchnia.rules
Normal 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
|
||||
Reference in New Issue
Block a user