Why cant I choose a state in the automations UI

Yust a thought, I don’t know if it is possible, but it would be cool if we can select a state in the UI editor.

For example, you want to check the state of a door sensor. Instead of typing ‘open’ of ‘closed’, the UI collects all possible states for that entity and putt them in a dropdown. (maybe with an option to type your own, if that is required for some reason)
This is a very simple example, but if you have entities with more states it can save some time.

More usefull yet if the trigger on on state attribute could become more user friendly. ( I belief there is already a topic about this)

I think this is a duplicate of WTH: In the automation editor does the the state trigger fields not autocomplete

Closing this in favor of the post linked above, as that one was created first. Please re-add your votes there.