Why does this not work ?

Moderator: leecollings

Post Reply
VHK17
Posts: 11
Joined: Tuesday 31 January 2017 9:10
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Why does this not work ?

Post by VHK17 »

I am new to Domoticz and are learning.

I do not understand why this does not work with the and lux_keuken < 1500
Blocky_2.jpg
Blocky_2.jpg (41.82 KiB) Viewed 715 times

It works without the and lux_keuken < 1500
Blocky_1.jpg
Blocky_1.jpg (29.9 KiB) Viewed 715 times
Can someone explain what i am doing wrong ?
Thanks
User avatar
Egregius
Posts: 2589
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Why does this not work ?

Post by Egregius »

Your nesting of the blocks is wrong.
Now you have
if('Pir keuken' == ( 'On' AND 'Lux Keuken' < 1500 ) )

should be
if('Pir Keuken' == 'On' AND 'Lux Leuken' < 1500 )
VHK17
Posts: 11
Joined: Tuesday 31 January 2017 9:10
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Why does this not work ?

Post by VHK17 »

Thanks

For starters like me
Begin with the "AND" , then add "=" , "<"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest