kuchnia: przy przelaczaniu biegow okapu, gas swiatlo
Teraz nie działa jak jest zapalone światło w okapie. Jest to jakiś problem natury elektrycznej.
This commit is contained in:
@@ -42,6 +42,9 @@ rule "Ustaw prędkość okapu"
|
||||
when
|
||||
Item dOKAP_speed received update
|
||||
then
|
||||
var preOKAP_SWIATLO = sD1MINI01_swiatlo.state.toString()
|
||||
sD1MINI01_swiatlo.sendCommand(OFF)
|
||||
|
||||
if (dOKAP_speed.state == 0) {
|
||||
sD1MINI01_bieg1.sendCommand(OFF)
|
||||
sD1MINI01_bieg2.sendCommand(OFF)
|
||||
@@ -69,4 +72,8 @@ then
|
||||
sD1MINI01_bieg3.sendCommand(ON)
|
||||
vOKAP_speed.postUpdate(3)
|
||||
}
|
||||
|
||||
sD1MINI01_swiatlo.sendCommand(preOKAP_SWIATLO)
|
||||
end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user