Returns the temperature in 0.1 °C for a single device

def get_temperature_single(self, device):
        """Returns the temperature in 0.1 °C for a single device"""
        temp_str = self.__query_cmd('gettemperature', device)
        if temp_str.lstrip('-').isdigit():
            return float(temp_str) / 10.0
        return 'inval'