Support for the Daylight sensor

See #863