What I am trying to achieve is the following, everything to switch off at sunrise or when everyone leaves, or someone arrives home. this bit i have working, but i only wanted it to fire if it was daylight.
I got the complex or working fine for the first part. It is the second part that is causing me an issue
This is what I have. If I remove the relevant brackets and the and it works.
This doesn't work i get a 1 error prohibited this logicblock from being saved:
- The Condition Definition is not valid. Sytnax error: There seems to be an error in the complex condition definition.
This is what my complex looks like AND(OR(Nothome,Daylight,Home)Daylight)
The only thing I can think is I have Daylight twice
Cheers in advance