benct / lovelace-battery-entity-row

Show battery states or attributes with dynamic icon on entity rows in Home Assistant's Lovelace UI
MIT License
68 stars 7 forks source link

Charging status icon does not show #11

Open p-m-x opened 3 years ago

p-m-x commented 3 years ago

Hi

I need reload UI to see charging ststus icon change. I see in Developers tool that the value was changed but it does not change (charging icon) on dashboard

  entity: sensor.wall_panel_2_battery_level
  charging: 
    attribute: charging
    state: 
      - "True"

tested also with separate charging sensor entity defined

  entity: sensor.wall_panel_2_battery_level
  charging: 
    entity: sensor.wall_panel_2_battery_charging_state
    state: 
      - "True"

HA: 2021.1.4

benct commented 3 years ago

It should check charging state on each render (state update), so I have no idea why that does not update..