def format_temperature(value_bytes, multiplied_by_2=True):
    """
    Format the temperature to string with one decimal place and the unit (°C). Assumes the input is
    a bytes object (or compatible, like iterable of ints) with representation of a signed integer with the
    most significant byte first, where the integer is the actual temperature measurement, usually multiplied
    by 2, depending on the value of the second parameter.

    :param value_bytes: bytes with a signed integer that represents the actual temperature in °C,
        usually multiplied by 2 (see next parameter)
    :param multiplied_by_2: determines whether the value represents temperature multiplied by 2 or not
    :return: a string with formatted temperature
    """
    return "{:.1f}°C".format(int.from_bytes(value_bytes, "big", signed=True) / (2.0 if multiplied_by_2 else 1.0))