Animated lock (classic) icon for Home Assistant
Locked keeps the shackle closed with a green ring; unlocked lifts and swings the shackle open, lights the keys blue and blinks the ring red.
2 states: locked and unlocked. Part of the security 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.
States of the lock (classic) icon
The card picks the state from your entity, so the icon always shows what the lock (classic) is doing.
- LockedResting state, shown when the device is off or idle.
- Unlocked
Which Home Assistant entities fit
- Any entity that is simply on or off, such as a
switchorinput_boolean: on shows unlocked, off shows locked. Entity states named like a state below (for exampleunlocked) 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
- Install the Animara card: one link install, HACS as a custom repository, or copy
animara-card.jsto/config/www. - Edit your dashboard, choose Add card, then Animara.
- Pick your entity. Choose Lock (classic) in the Icon list if it is not detected automatically.
- 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.lock_classic icon: lock_classic
Mapping words yourself looks like this:
states: "on": unlocked
Related security icons
Get the Full Pack · $24Free sampler on GitHub
One time payment, 14 day refund. The free sampler has 12 icons and the same card.




