Templates are not valid in that field. The above and below configuration variables will accept a number or the entity ID of an input_number, number, sensor, or zone entity. For anything beyond the plain state of one of those entity types, you will need to use either a Template trigger (this is the recommended option), or add a value_template configuration variable to you Numeric state trigger.