maxwroc/battery-state-card

Color not Work

milandzuris opened this issue · 1 comments

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