I created a template for my awnings.
The opening and closing position is managed by a door contact while the descent and ascent are managed by two scripts.
Is it possible to invert the arrows of the entity so that when it is closed as in the picture, the downward one is active to let the awnings come down?
cover:
- platform: template
covers:
tenda_sole_cucina:
friendly_name: "Tenda Sole Cucina"
position_template: "{{ 0 - is_state('binary_sensor.tenda_sole_cucina_contact', 'on') }}"
open_cover:
service: script.tenda_sole_cucina_giu
close_cover:
service: script.tenda_sole_cucina_su