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:
root
2018-12-02 18:36:08 +01:00
parent 678699a1cd
commit b948258bf4

View File

@@ -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