def METHOD_NAME(
    temperature_string: str, rounding_val: int
) -> Temperature:
    """Parse a standard temperature response from a module
    temperature_string: The string from the module after decoding
    rounding_val: A value to round to
    Example input: "T:none C:25"""
    data = parse_key_values(temperature_string)
    try:
        target = parse_optional_number(data["T"], rounding_val)
        return Temperature(current=parse_number(data["C"], rounding_val), target=target)
    except KeyError:
        raise ParseError(
            error_message="Unexpected argument to parse_temperature_response",
            parse_source=temperature_string,
        )