If statement executing even when conditionals are false.

UKHeliBob:
Respectfully disagree.

if (250 < lightlevel && lightlevel < 800)

Can you read that in English and honestly say that it makes immediate sense ?

I personally prefer to write range statements that way because it closely resembles the way it would be written as a math expression:

250 < lightlevel < 800