The validation occurs on the values of your attriubtes from an enum. So the expected values in this case are integers. If you want strings, use a StrEnum instead (introduced in python 3.11). You'd have something like this:
class CustomEnum(StrEnum):
ONE = "one"
TWO = "two"
...