It’s difficult for us too. Please format it properly in future and do not be tempted to post a screenshot.
Your problem is that template triggers have to return true or false. They trigger when the template changes from false to true. Your templates only return an attribute value.
You probably want is_state_attr(... to compare the value with something. However you could just use a state trigger for that. They support attributes. So do numeric state triggers if you want to see if the attribute is more or less than some value.
Please have a read of this: