Why threshold values of a sensor are readonly