Added daylight sensor