Hiya.
I'm struggling to make this work. I'm kinda stuck.
Just one of the conditions works, BADRUM_LUX or BADRUM_PIR, not both. (I know their is an example on some page in this thread, but i can't find it now)
GEA.add(id["BADRUM_DORR"], -1, "", {{"Time", "04:00", "23:00"}, {"If",{{"Value-", id["BADRUM_LUX"], 80}}}, {"If",{{"Value", id["BADRUM_PIR"], 0}}}, {"Function", function() fibaro:call(id["BADRUM_LAMPA"], "setValue", "99") end}})
Grateful if someone could point me in the right direction