def validate_v_rgbw(value):
    """Validate a V_RGBW value."""
    if len(value) != 8:
        raise vol.Invalid(
            '{} is not eight characters long'.format(value))
    return validate_hex(value)
def validate_v_rgbw ( value ) : if len ( value ) != 8 : raise vol . Invalid ( '{} is not eight characters long' . format ( value ) ) return validate_hex ( value )
Validate a V_RGBW value.