Animated battery level icon for Home Assistant

A realistic battery cell with five level bars behind its glass window: green when full or high, amber at half, red when low, one blinking red bar inside a red rim when critical, and while charging the bars fill up one by one as the bolt glows green.

6 states: full, high, half, low, critical and charging. Part of the energy icons in the Animara Full Pack.

Get the Full Pack · $24Free sampler on GitHub

One time payment, 14 day refund. The free sampler has 12 icons and the same card.

Preview recording of the real artwork, about 2.5 seconds per state. The icon in the pack has no watermark.

States of the battery level icon

The card picks the state from your entity, so the icon always shows what the battery level is doing.

  • FullResting state, shown when the device is off or idle.
  • High
  • Half
  • Low
  • Critical
  • Charging

Which Home Assistant entities fit

  • sensor entities. The card reads the sensor's number and picks the state from the value.
  • sensor entities with device class battery are detected as this icon automatically.
  • Works with any entity whose state you map: pick this icon in the card and map your entity's own state words to these states with the card's states: option.

How to use it in Home Assistant

  1. Install the Animara card: one link install, HACS as a custom repository, or copy animara-card.js to /config/www.
  2. Edit your dashboard, choose Add card, then Animara.
  3. Pick your entity. Choose Battery level in the Icon list if it is not detected automatically.
  4. Paste your Full Pack license key into the License key field once per dashboard.

Prefer YAML? This is all it takes:

type: custom:animara-card
entity: sensor.battery_level
icon: battery_level

Related energy icons

All energy icons · Every category

Get the Full Pack · $24Free sampler on GitHub

One time payment, 14 day refund. The free sampler has 12 icons and the same card.