Hi
I tried to create an automation to slide my covers based on the current position
`
- service: cover.set_cover_position
target:
entity_id: cover.volet_salon
data_template:
position: |
{% if state_attr(‘cover.volet’, ‘current_position’) < 95 %}
{{state_attr(‘cover.volet’, ‘curent_position’) | int + 5}}
{% else %}
100
{% endif %}
`
but it doesnt works
Thanks in advance for your helps