maxwroc / battery-state-card

Battery state card for Home Assistant
MIT License
848 stars 38 forks source link

Color not Work #704

Closed milandzuris closed 6 months ago

milandzuris commented 6 months ago

Describe what is wrong Why last Entities don't show Color?

paste your card configuration here

type: custom:battery-state-card
secondary_info: '{last_changed}'
icon: mdi:signal
filter:
  include:
    - name: entity_id
      value: '*linkquality'
  exclude:
    - name: state
      value: '*NaN'
sort:
  by: state
bulk_rename:
  - from: ' linkquality'
    to: ' Linkquality'
value_override: '{state|abs()}'
colors:
  steps:
    - value: 30
      color: '#ff0000'
    - value: 80
      color: '#ffff00'
    - value: 255
      color: '#00ff00'
  gradient: true

Screenshot image

maxwroc commented 6 months ago

656