Added light sensor monitor
Sensor and device state changes