When creating Automations using Blueprints we are required to ‘know’ the state we want to trigger on. We must know all possible states (or try to find them, which can be difficult too), then manually type it in (prone to human error).
The system knows all possible states from the device/entity definitions… HA should simply provide them in a drop-down so the user can select the state… this would save a ton of time and avoid problems
I’m not sure exactly how the UI provides the lists it does provide. Even providing some on-screen guidance during the automation/blueprint creation would help (this entity is expecting input like this, ‘XYZ’)
Blueprints seem the most challenging as the 20ish BPs I’d tried, none provide a drop-down list.
the entity is from a domain that has known states (like climate, binary_sensor, fan, etc)
or
the entity is a sensor that has device_class enum, and the list of known states are attached as attribute options
If a text-based sensor has a list of possible options, it’s ideally up to the integration to provide those as an enum so that the frontend can show the options (and even translate them).