[REVERT] Updated code for Sensor Demo