custom-cards / bar-card

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

Complementary value with many digits after decimal point #109

Open ildar170975 opened 3 years ago

ildar170975 commented 3 years ago

Sometimes a glitch occurs - many digits after decimal point for complementary value. Usually it occurs if limits (min, max) are specified:

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

изображение