The property DeviceType has been added to sensor.
Small improvement of the Sensor->str() method.