Add support for stress levels to Sensor.