Template from http GET

Hi!
Long story short, I’m trying to add to HAS my beckhoff PLC. I access to my PLC variables via HTTP POST and GET. Anyway this is string i get from my PLC, my blinds position:

GABINET.nActualPosition = 100<br><br><br>Complete

I tried to add some template like this:
cover:

Not sure if this works, but when i test it in DevTools/Templates,

{% set value = 'GABINET.nActualPosition = 100<br><br><br>Complete' %}
{{ value.split(' = ')[1].split('<')[0] }}

returns 100
So the value_template should be:

value_template: "{{ value.split(' = ')[1].split('<')[0] }}"

If you post code, please read the blue box at the top and format it.