def METHOD_NAME(val):
    """Convert values in operation conditions dictionaries."""
    return {
        "min_value": float(val["min"]) if val["min"] is not None else None,
        "max_value": float(val["max"]) if val["max"] is not None else None,
        "values": [float(x) for x in val["values"]],
        "units": str(val["units"]),
    }