Automation - test attribute equals specific value

I need to add condition that whole automation will be executed in case the value of attribute equals to 501
i can see there is only option to set a range, doesnt make a sense to me?

Use a state condition. Not a numeric state condition.

@tom_l thanks
but why there is section for?

In case you want to specify a time the state must be stable for. You don’t have to use it.

got it, thanks

by state must be stable for u mean - for how long specific state will remain?

Correct. For example, no movement (binary sensor state ‘off’) for 10 minutes before allowing the lights to be turned off in the actions.