Giter VIP home page Giter VIP logo

Comments (8)

DBuit avatar DBuit commented on July 22, 2024

Hi @Tedsterh set supportedFeaturesTreshold to 0 for this entity and it will display slider.

from light-popup-card.

Tedsterh avatar Tedsterh commented on July 22, 2024

I have placed that inside the popup config, but it hasn't changed anything. I still get the switch instead of the slider.

- column: 2 tileOnRow: 4 entities: - title: Master Bedroom entities: - entity: light.main_light popup: type: 'custom:light-popup-card' scenesInARow: 4 brightnessWidth: 130px brightnessHeight: 350px switchWidth: 110px switchHeight: 300px supportedFeaturesTreshold: 0

from light-popup-card.

DBuit avatar DBuit commented on July 22, 2024

@Tedsterh can you share the state in de developer tools of home assistant.
Like this:
example

from light-popup-card.

Tedsterh avatar Tedsterh commented on July 22, 2024

Screenshot 2020-02-18 at 15 16 43

from light-popup-card.

DBuit avatar DBuit commented on July 22, 2024

@Tedsterh that is strange by setting tileHoldAnimation to 0 it should show the brightness slider when supported_features is higher than 0.

Can you share your config as code with before the code and after so the indentation is kept.

from light-popup-card.

Tedsterh avatar Tedsterh commented on July 22, 2024

Can you share your config as code with before the code and after so the indentation is kept.

I did that but it doesn't seem to display the indentations.
Screenshot 2020-02-18 at 18 23 18
This is my code for the light and popup.

from light-popup-card.

DBuit avatar DBuit commented on July 22, 2024

@Tedsterh really strange i can even get a slider for a light that does not have brightness by setting supportedFeaturesTreshold: -1. Are you using HACS? and latest version? or manual installation?

from light-popup-card.

Tedsterh avatar Tedsterh commented on July 22, 2024

I am using HACS latest version, if I set the supportedFeaturesTreshold: -1 then I get a dimmer slider. Not sure why I don't if its set to 0 instead.

from light-popup-card.

Related Issues (20)

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.