maxwroc / battery-state-card

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

Color not Work #704

Closed milandzuris closed 8 months ago

milandzuris commented 8 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 8 months ago

656