I’m trying to configure the cover template with position_template property. I’ve got a modbus sensor which seems to be working fine. It outputs the proper number in the entity, I’ve checked in two places:

but when used in the cover template like that:

I always have an error that the position is “unavailable”:
What I’m doing wrong?
