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

Moderator: leecollings

Post Reply
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

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

Post 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 986 times

DomoticzV2.3596
User avatar
StanHD
Posts: 347
Joined: Friday 12 July 2013 16:09
Target OS: Windows
Domoticz version:
Location: East Sussex, UK
Contact:

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

Post 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 "+".
Domoticz Main - Intel nuc, Windows, RFXTRX433E. Lan Relay Boards, Aeon Z-Stick Gen 5, Evohome HGI80, Milight WiFi, MySensors Ethernet Gateway, Harmony Hub
Python:- Broadlink RM2, Sonos
HA-Bridge - Amazon Echo / Alexa
Evelen
Posts: 234
Joined: Thursday 09 July 2015 12:03
Target OS: Linux
Domoticz version: 2.4538
Location: Norway
Contact:

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

Post by Evelen »

your right :) works now
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest