Dynamic "ABOVE" value in automation trigger

They are using a device trigger. I’m not sure it actually supports an entity in the above and below fields like a numeric_state trigger.

It would be wise to stop using device triggers, condition and actions altogether.