Animated UPS icon for Home Assistant

Online shows a green battery and power ring; on battery the display turns amber, the bars drain and the display and ring blink.

2 states: online and on battery. 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 UPS icon

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

  • OnlineResting state, shown when the device is off or idle.
  • On battery

Which Home Assistant entities fit

  • Picked automatically when the entity or device name contains "ups", on switch, input_boolean, binary_sensor or sensor entities.
  • Any entity that is simply on or off, such as a switch or input_boolean: on shows on battery, off shows online. Entity states named like a state below (for example on_battery) are used directly.
  • 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 UPS 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: switch.ups
icon: ups

Mapping words yourself looks like this:

states:
  "on": on_battery

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.