def METHOD_NAME(
    temperature_string: str, rounding_val: int
) -> PlateTemperature:
    """Example input: "T:none C:25 H:123"""
    data = parse_key_values(temperature_string)
    try:
        return PlateTemperature(
            current=parse_number(data["C"], rounding_val),
            target=parse_optional_number(data["T"], rounding_val),
            hold=parse_optional_number(data["H"], rounding_val),
        )
    except KeyError:
        raise ParseError(
            error_message="Unexpected argument to parse_plate_temperature_response",
            parse_source=temperature_string,
        )