def value(self, datatype):
value = self.lib.tdSensorValue(<EOL>self.protocol, self.model, self.id, datatype)<EOL>return SensorValue(datatype, value['<STR_LIT:value>'], value['<STR_LIT>'])<EOL>
Return the :class:`SensorValue` for the given data type.

        sensor.value(TELLSTICK_TEMPERATURE) is identical to calling
        sensor.temperature().