Triggering on (some) entity state changes

I have an input_select sensor that can have one of a (small) series of values. For the sake of simplicity, assume states A, B, C, and Off. I want to run an action when the entity has been Off for 10 minutes, after having been in one of the other states.

The trivial approach:

platform: state
entity_id: input_select.xxx
to: 'Off'
for:
  hours: 0
  minutes: 10
  seconds: 0

works, but repeats every 10 minutes after state goes Off.

I can specify a From-value in the trigger, but I would like the From to cover all allowable values, or all values except Off.

Is there a way to obtain this?