Animated smart lock icon for Home Assistant

Smart deadbolt with an LED ring: green when locked, the bolt retracts and the ring blinks amber when unlocked, and when jammed the bolt sticks halfway while the ring and strike plate flash red.

3 states: locked, unlocked and jammed. Part of the security icons and free in the open source sampler.

Get the Full Pack · $24Free sampler on GitHub

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

Live drawing of the free sampler icon (MIT license), the same artwork the card shows.

States of the smart lock icon

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

  • LockedResting state, shown when the device is off or idle.
  • Unlocked
  • Jammed

Which Home Assistant entities fit

  • binary_sensor entities with device class lock are detected as this icon automatically.
  • Any lock entity gets this icon by default when nothing more specific matches.
  • Picked automatically when the entity or device name contains "lock", on lock, 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 unlocked, off shows locked. Entity states named like a state below (for example jammed) 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 Smart lock in the Icon list if it is not detected automatically.

Prefer YAML? This is all it takes:

type: custom:animara-card
entity: binary_sensor.door_lock
icon: door_lock

Mapping words yourself looks like this:

states:
  "on": jammed

Related security icons

All security 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.