It is possible to define possible values that an template text sensor, or text sensor has?

I have an ESP32 board with a Clamp to detect a device working on different states. I know the ranges in Amps between which each possible state is active.

Is there a way to let ESPHome declare this text sensor just has this possible values so that in Home Assistant I can also use them without using magic strings in automations or scripts?

Thanks!

Take a look at select too:

It can have only predefined values, as per requirement.

This looks like more what I needed, thanks!