Giter VIP home page Giter VIP logo

Comments (8)

swingerman avatar swingerman commented on August 20, 2024 6

I will look into this as soon as I can find some time. Stay tuned!

from lovelace-fluid-level-background-card.

azsoccerpop avatar azsoccerpop commented on August 20, 2024 2

Yes please allow the color to be controlled by thresholds. I would like to use this card with the sensors I have on my pool like pH which has an optimal range. I am using the Gauge card with segment but would love to use this instead:
segments:
- from: 0
color: '#db4437'
- from: 6.8
color: '#ffa600'
- from: 7.1
color: '#43a047'
- from: 7.7
color: '#ffa600'
- from: 8.1
color: '#db4437'
Also Minimum & Maximum values

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024 1

@swingerman any chance to get this feature implemented ? almost 2 years now :)

There is a chance in the coming weeks. I am affected by the war in Ukraine, unfortunately...

from lovelace-fluid-level-background-card.

Perfect-Web avatar Perfect-Web commented on August 20, 2024

@swingerman any chance to get this feature implemented ? almost 2 years now :)

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024

I will start to work on this in the coming days.

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024

Please check v0.1.6-beta.4

You can set severity this way:

severity:
  - value: 20
    color: red
  - value: 50
    color: yellow
  - value: 80
    color: green

color can be in almost any format (defined in readme)

from lovelace-fluid-level-background-card.

SabatoArdolino avatar SabatoArdolino commented on August 20, 2024

Hi is it a way to include range ?
From 0 to 20 color Red
from 20 to 70 yellow
grater than 70 green
??

from lovelace-fluid-level-background-card.

swingerman avatar swingerman commented on August 20, 2024

Yes. Each severity step defines a color above it's value. The color changes if there is severity set with a higher value.
See above.

from lovelace-fluid-level-background-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.