Inversion des commandes de volet

Voila le code qui fonctionne, si ça peut servir à quelqu’un qui passe parl a :slight_smile:

cover:
  - platform: template
    covers:
      cuisine_shutter:
        device_class: shutter
        icon_template: "hass:window-shutter-{{ 'open' if state_attr('cover.e2m_shutter_cuisine_cover', 'current_position')|float > 0 else 'closed' }}"
        unique_id: 'volet_cuisineId'
        friendly_name: "Volet de la cuisine modifié"
        open_cover:
          service: cover.close_cover
          target:
            entity_id: cover.e2m_shutter_cuisine_cover
        close_cover:
          service: cover.open_cover
          target:
            entity_id: cover.e2m_shutter_cuisine_cover
        stop_cover:
          service: cover.stop_cover
          target:
            entity_id: cover.e2m_shutter_cuisine_cover
        position_template: "{{ state_attr('cover.e2m_shutter_cuisine_cover', 'current_position') }}"
        set_cover_position:
          service: cover.set_cover_position 
          target:
            entity_id: cover.e2m_shutter_cuisine_cover
          data:
            position: "{{ position }}"
2 « J'aime »