# maxwroc/battery-state-card

Battery state card for Home Assistant

Repository: https://github.com/maxwroc/battery-state-card
Canonical: https://ross.abutalabs.com/products/battery-state-card
Language: TypeScript
License: MIT
License Family: permissive
Topics: battery, sensor, home-assistant, hassio, lovelace-custom-card
Last push: 2026-08-21T18:39:02+00:00

## Health v2 (maintenance only)
Score: 91/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 77, longevity 100
- inputs: {"age_days": 2330, "days_push": 12, "days_rel": 153, "gap_med": 8.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1266, forks 51 (observed 2026-08-28T04:04:11.135328+00:00)

## What it is
A custom Lovelace card for Home Assistant that displays battery levels from connected devices and entities. It offers filtering, sorting, and customizable display options for tracking battery states across a smart home.

## Use cases
- show battery levels of all smart home devices on one dashboard card
- monitor low battery sensors in Home Assistant
- group and sort battery entities by charge level
- customize battery card colors and icons based on state
- get alerted visually when device batteries need replacement

## When to choose
- you use Home Assistant with Lovelace dashboards and want a dedicated battery overview
- you need filtering, sorting, and bulk renaming of battery entities
- you want an actively maintained card with HACS support

## When to avoid
- you don't use Home Assistant or Lovelace
- you need battery history graphs rather than current state listing
- you want a generic entity card without battery-specific features

## Facets
- artifact type: plugin
- maturity: active
- function: ui-components, data-visualization
- domain: iot
- platform: iot
- tags: lovelace-card, battery-monitoring, custom-card, hacs, smart-home-dashboard, home-automation, dashboard, web

## Member repositories
- maxwroc/battery-state-card (main) score 91

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:11.135328+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:03:48.308221+00:00, confidence not recorded.
  - readme: https://github.com/maxwroc/battery-state-card (fetched 2026-08-28T04:04:11.135328+00:00, sha c8652dd9e6ab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
