Update light_sensor

http call only when state changed :)