WTH Auto generated descriptions of automation parts

Why do we get a description like ‘Bathroom motion changes to off’ rather than ‘Bathroom motion changes to clear’ ?

I was triggered by this, and tested it myself.
If I use a device trigger (which I normally never do) I get this:

If I use a state trigger, I get this:

The last one seems to match your WTF. But you are creating a state trigger checking for the state off, so why should it say clear then?

Because, when I select the state for the entity a list appears with the friendly state names.

Having said this, although I can select ‘clear’ from the list the state field contains 'off '.

Ah your right, the GUI uses the states based on the device_class. However, the actual states will be on or off