Page 1 of 1

Blockly: if dummy sw is on, set 2x sw on (don't work)

Posted: Sunday 03 January 2016 2:19
by Evelen
Hi.
I'm trying to make a dummy switch that turns on two off the other lights.
But it don't seem to works.
the dummy is set to "on", but the other lights don't turn on.
1.png
1.png (22.45 KiB) Viewed 984 times

DomoticzV2.3596

Re: Blockly: if dummy sw is on, set 2x sw on (don't work)

Posted: Sunday 03 January 2016 2:23
by StanHD
I think you have used the wrong If block. As you do not have an Else If, try using the block without the "+".

Re: Blockly: if dummy sw is on, set 2x sw on (don't work)

Posted: Sunday 03 January 2016 3:04
by Evelen
your right :) works now