Using double quotes on multiline was the real problem. Single liner worked immediately without adding entities to monitor.
Anyway now it evaluates the state correctly.
The platform was missing only in the config I pasted here, it was in place in the original configuration.
@tom_l thank you for your promptly help, sometimes takes forever to notice errors that are immediately evident to someone more experienced.
Do add the entities though. It was a breaking change a few versions ago and is recommended practice.
Also see this suggestion by 123 to give a default value on float conversion failure to Prevent false triggering if the sensor becomes unavailable. Though in your case a default of 0 wii be ok (not > 5). Just something to keep in mind for future templates.