Code Monkey home page Code Monkey logo

cover-popup-card's People

Contributors

dbuit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

cover-popup-card's Issues

Garage door cover not showing correct state

Hi

I'd like to use this to control my garage door. The cover is either 'open' or 'closed'. So the slider would effectively be a switch. How do I replace the NaN with the current cover.garage_door state.

      - title: Doors
        entities:
          - entity: cover.garage_door
            popup:
              icon: mdi:garage
              type: custom:cover-popup-card
              entity: cover.garage_door
              sliderService: cover.set_cover_position
              actionsInARow: 2
              actions:
                - service: cover.open_cover
                  service_data:
                    entity_id: cover.garage_door
                  name: open
                  icon: mdi:garage-open
                - service: cover.close_cover
                  service_data:
                    entity_id: cover.garage_door
                  name: close
                  icon: mdi:garage
            icon: mdi:garage
            offStates: 
              - "closed"

image

Reverse the direction??

Hi there, this is a really nice card. However im wondering whether there's a way to have an option to reverse the direction of the slider meaning? For example, im using this on a roller blind. However to open the blind 100% (fully open), i drag the slider to the top, which makes sense, but the slider bar itself starts from the bottom. If the slider started at the top and was dragged down to close and up to open, like an actual blind, it would be a little more representative of what's actually happening.. at least for a blind. I may dig into the code and see if i can figure it out but just thought id ask.

Support for covers that don't report position

Could this card be used for covers that don't report their position? I.e. you can only press Up/Pause/Down, like the Somfy RTS ones?
I see you have also blinds-popup-card, but that one seems to be abandoned :(

Allow to call input_number service; not only

Could you modify the code so we are also allowed to use a input_number service when for the sliderservice? Right now we can only use cover services... This would allow a lot more flexibility.

Thanks.

Not rendering properly on iOS

Hi,

On Light-popup-card we can set the brightnessWidth and brightnessHeight, we don't have this option on cover-popup-card, and the rendering is not good on ios Iphone.

Can you add this 2 parameters ?

Thanks

Cover Popup Not Popping Up

I have browser mod installed and cover-popup-card installed. Trying to set up a cover popup for my blinds.

The resources are configured
https://imgur.com/a/ZhTyojS

The JSON is set up correctly I think, based on the slider-entity-rows working and popping up

https://imgur.com/a/kdPEoZu

The sliders are configured on left and middle and they work BUT I don't get a popup for the cover popup as configured for the right side. Eventually if this works I'd like to set it up for all three.

https://imgur.com/a/yoRpqNK

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.