Animated door sensor icon for Home Assistant

Magnetic door contact: when the door opens a gap appears between the two sensor parts and the magnet on the frame glows amber.

2 states: closed and open. Part of the sensors 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 door sensor icon

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

  • ClosedResting state, shown when the device is off or idle.
  • Open

Which Home Assistant entities fit

  • binary_sensor entities with device class door are detected as this icon automatically.
  • binary_sensor entities with device class opening are detected as this icon automatically.
  • Any entity that is simply on or off, such as a switch or input_boolean: on shows open, off shows closed. Entity states named like a state below (for example open) 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 Door sensor 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_sensor
icon: door_sensor

Mapping words yourself looks like this:

states:
  "on": open

Related sensors icons

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