Wrong Eval definition in required_states
The _required statement declares a boolean expression Eval instead of testing the field is equal to some string.
The _required statement declares a boolean expression Eval instead of testing the field is equal to some string.