States in automation editor missing

I’m trying to use the state of a washing machine as a trigger. It can have multiple states, but I can’t choose any of the from the UI automation editor.

Entity showing past states (some of the possible states, incl. the one I want to use; “Program ended”):

UI editor trying to select state, only “Unavailable” and “Unknown” show up:

If I just write “Program ended” (first word capitalized, like shown in the entity history in UI) for the “to” state, nothing triggers.

Any idea why is it not showing the possible states in the drop-down, and where I find what to manually write (e.g., case sensitive, underscore vs. space)?

The UI doesn’t know what all the possible options are, so you’ll have to type in the correct value. In order to find out what the correct state is, you need to go to developer tools → states, and search for that washing machine state entity, and see what the state is when it is in the correct mode.

If the integration was properly coded, the sensor entity would be an “enum” device class, and the UI would be able to give you the possible states. But whoever wrote whatever integration you’re using didn’t do that.

Thanks! It seems like I missed that the custom integration is moving into Core. Removing it and using the (new) core version of the integration works.