custom-cards / bar-card

Customizable Animated Bar card for Home Assistant Lovelace
MIT License
364 stars 52 forks source link

Clarifications for "limit_value" required - seems that "limiting" always happens #110

Open ildar170975 opened 3 years ago

ildar170975 commented 3 years ago

As it was specified for "limit_value" property: изображение

But it looks that "limiting" happens always independently on the "limit_value" property:

type: 'custom:bar-card'
entities:
  - entity: sensor.memory_use_percent
    name: 'Free RAM (0..100, limit_value=false)'
    complementary: true
    limit_value: false
    min: '0'
    max: '100'
    color: green
  - entity: sensor.memory_use_percent
    name: 'Used RAM (0..100, limit_value=true)'
    complementary: false
    limit_value: true
    min: '0'
    max: '100'
    color: red
  - entity: sensor.memory_use_percent
    name: 'Free RAM (0..80, limit_value=false)'
    complementary: true
    limit_value: false
    min: '0'
    max: '80'
    color: green
  - entity: sensor.memory_use_percent
    name: 'Used RAM (30..80, limit_value=true)'
    complementary: false
    limit_value: true
    min: '30'
    max: '80'
    color: red

изображение