DBuit/light-popup-card

Slider Does not work for Cover Entity

400HPMustang opened this issue · 1 comments

So this is how I have my popup card set up. The card pops up and shows the shade position correctly on the slider, currently 50% however the percentage at the top shows 0%. Additionally, moving the slider does not control the shade at all.

Is there something else that needs to be added for shades or does the card just not work with cover entities?

https://imgur.com/a/o4bAQTB

cover.dining_room_right:
    style:
      $: |
        .mdc-dialog .mdc-dialog__container {
          width: 50%;
        }
        .mdc-dialog .mdc-dialog__container .mdc-dialog__surface {
          width: 50%;
          box-shadow:none;
        }
      .: |
        :host {
          --mdc-theme-surface: rgba(0,0,0,0);
          --secondary-background-color: rgba(0,0,0,0);
          --ha-card-background: rgba(0,0,0,0);
          --mdc-dialog-scrim-color: rgba(0,0,0,0.8);
          --mdc-dialog-min-height: 100%;
          --mdc-dialog-min-width: 100%;
          --mdc-dialog-max-width: 100%;
        }
        mwc-icon-button {
          color: #FFF;
        }
    card:
      type: custom:light-popup-card
      icon: mdi:blinds
      entity: cover.dining_room_right
    title: Shade Position

Nevermind. Found the popup cover card