def temperature_unit(value):
    value = str(value).upper()
    if value == 'C':
        return TEMP_CELSIUS
    elif value == 'F':
        return TEMP_FAHRENHEIT
    raise vol.Invalid('invalid temperature unit (expected C or F)')
Does this token contain events that the other doesn't?
dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/helpers/config_validation.py/temperature_unit--crossover with--dataset/ETHPy150Open matrix-org/synapse/synapse/types.py/StreamToken.is_after