[AnalogSensors] Minor fixes in AnalogSensor class