Added inverted daylight sensor.