WHY THE HECK can't we freely configure a Cover to interpret its percentage value as "percentage open" or "percentage closed"?

14 months later. Any movement on this? Who do I have to bribe?

I have outside venetian blinds on every window. Their function, just like curtains is to stop light when they are closed. So closed = 100% (of light stopped)

It is a lot of work to get this to function properly.
Install File editor and add this to configuration.yaml and add this for an inverted slider - Yes one for each blind on your house!! Code from Marius several posts above^^

#https://www.home-assistant.io/integrations/cover.template/
cover:
  - platform: template
    covers:
      christina_blind_inverted:
        friendly_name: Christina blind inverted
##        device_class: shade
        position_template: >
          {{100 - (state_attr('cover.blind_2','current_position')|int)}}
        set_cover_position:
          service: cover.set_cover_position
          data_template:
            entity_id: cover.blind_2
            position: >
              {{100 - position}}

Add a new empty card in lovelace

type: entities
entities:
  - entity: cover.blind_2
    name: Christina's cool blinds
    tap_action:
      action: none
    icon: mdi:blinds
  - entity: cover.christina_blind_inverted
    type: custom:slider-entity-row
    full_row: true
    hide_state: true

Looks real nice and the navigation to the incorrect slider is disabled too.

image

1 Like