maxwroc / battery-state-card

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

battery icon not showing #687

Closed eddysteurs closed 7 months ago

eddysteurs commented 7 months ago

Describe the bug Since a few days the battery icon is not showing, updated to HA2024.2 last week maybe related? image

How to reproduce

Expected behavior

YAML configuration


# please paste here your card config (before backticks below; do not remove them)
type: custom:auto-entities
filter:
  include:
    - attributes:
        device_class: '*battery*'
      state: <101
  exclude:
    - entity_id: '*ramses*'
    - entity_id: '*battery_st*'
    - entity_id: '*binary_se*'
    - entity_id: '*nuc0*'
    - entity_id: '*solis*'
show_empty: true
card:
  type: custom:battery-state-card
sort:
  method: state
  reverse: false
  numeric: true
state_filter:
  - operator: <
    value: 100```

***Entity debug data***
<!-- Add "debug: true" in your card configuration and paste below entity data from the debug output -->

```json

Dev console errors

Screenshots

Version V3.2

maxwroc commented 7 months ago

Please use the debug: true in the card config and paste here the entity data.

Pay attention to the version shown there too (I suspect that you don't have v3.2 but the old one cached by the browser)

image

If after adding debug: true you don't see something like the above then it means you are not on the latest card version.

eddysteurs commented 7 months ago

solved, had to manually clear cache several time (in edge settings) and restart, now they are back, thx