def _decode_temp(byte_1, byte_2):
        """Decode a signed short temperature as two bytes to a single number."""
        temp = (byte_1 << 8) + byte_2
        if (temp > 32767):
            temp = temp - 65536
        temp = temp / 10
        return temp
def _decode_temp ( byte_1 , byte_2 ) : temp = ( byte_1 << 8 ) + byte_2 if ( temp > 32767 ) : temp = temp - 65536 temp = temp / 10 return temp
Decode a signed short temperature as two bytes to a single number.