Home Assistant projects
All projects

Automation Monitor Card

Lovelace card · Maintenance
v1.17.1 · Nov 9, 2026 HA 2024.8.0+ Archived

Archived. Automation Monitor Card is now part of System Hub: its repository is no longer updated. Install System Hub instead, which takes over its settings (how to migrate).

Automations whose last run failed and entities stuck unavailable, at a glance.

Built on the Automation Monitor integration, discovered automatically: failed automations with their error and failed step, unavailable linked entities, and shortcuts to the trace and the editor.

Highlights

  • Overall status: all good or the number of problems
  • Error message, failed step and consecutive failures
  • Trace and Edit shortcuts
  • Clear a failure with confirmation
  • Ignored entities, with * and ? patterns
  • Compact mini card
  • Option to hide the cards while all is good

Cards

automation-monitor-cardautomation-monitor-mini-card
type: custom:automation-monitor-card

Install

  1. 1Open the repository in the Marketplace with the Add to Marketplace button above, or addgithub.com/juju35/ha-automation-monitor-card as a custom repository (category Dashboard).
  2. 2Download it from the Marketplace.
  3. 3Reload the browser and add the card from the dashboard editor.

Documentation

From the README

Features

Features

  • Two cards: a full Automation Monitor Card and a compact Automation Monitor Mini Card
  • Overall status at a glance: all good, the number of problems, or "Sensor unavailable" when a sensor of the integration cannot be read (its counter then shows a dash instead of 0)
  • Counters of failed automations and unavailable linked entities; a list is only shown when it has something to show
  • Failed automations: name, time of the last failure, error message, failed step and consecutive failures
  • Trace and Edit buttons opening the automation's trace and editor in Home Assistant
  • Clear a failure (or Clear all) with the integration's automation_monitor.reset action, with confirmation
  • Unavailable linked entities: name, entity id, how long it has been unavailable and the automations, scripts and scenes that use it (click one to open its editor)
  • Refresh button in the header of both cards, rebuilding the list of linked entities (automation_monitor.rebuild_linked_entities)
  • Detail button at the top right of the mini card: it switches to the full card and back; a click anywhere outside the card brings the compact view back
  • Failed automations and unavailable linked entities are folded by default: click the section title to unfold them; long lists are cut to a configurable number of items, with a "Show more" button
  • Click a counter, an automation or an entity to open its Home Assistant more-info dialog
  • Trace, Edit, Clear, Clear all, Refresh and the editor links under Used by are for administrators only: other users don't see them (a Used by item opens its more-info dialog instead)
  • Visual editor in the dashboard UI for both cards (no YAML needed)
  • Narrow cards (6 columns of the Sections view, the mini card's default size, down to ~156 px on a phone) stay readable: below ~384 px Clear all shows only its icon and the counters stack; the icon gets smaller below 320 px and is hidden below 280 px, so the status chip keeps its whole label; below 245 px the chip shrinks to its dot (its text stays in the tooltip)
  • Light and dark mode, English, French, German, Spanish, Serbian (Cyrillic and Latin), Italian, Dutch, European Portuguese, Polish, Romanian, Danish, Swedish, Bulgarian, Russian, Ukrainian, Hungarian, Slovak, Czech, Slovenian, Latvian and Greek
  • Single file, no external dependency

Supported integrations

Supported integrations

Integration What the cards show
Automation Monitor (Marketplace, added from a link) Overall status, failed automations (last failure, error, failed step, consecutive failures) with Clear (automation_monitor.reset), unavailable linked entities and the automations, scripts and scenes using them, Refresh (automation_monitor.rebuild_linked_entities)

Prerequisites

Prerequisites

The Automation Monitor integration must be installed and configured (it is available in the Marketplace, added from a link), with Home Assistant 2024.8 or later.

Configuration

Configuration

Visual editor#

Edit a dashboard, click Add card and search for Automation Monitor Card or Automation Monitor Mini Card. There is nothing to pick: the sensors of the integration are found automatically. Set an optional title, choose the sections to display, whether lists are expanded by default, the action buttons, the number of items per list and the language. The preview updates live, and options left at their default are kept out of the generated YAML.

Minimal#

type: custom:automation-monitor-card
type: custom:automation-monitor-mini-card

Full options#

type: custom:automation-monitor-card
title: Automations
show_failed: true
show_linked: true
expand_failed: false
expand_linked: false
show_details: true
show_controls: true
max_items: 5
hide_when_ok: false
exclude_devices:
  - Garage door sensor
  - 4f1c2e9d8b7a6c5d4e3f2a1b0c9d8e7f
exclude_entities:
  - automation.test_*
  - sensor.guest_room_temperature
language: fr
type: custom:automation-monitor-mini-card
title: Automations
show_failed: true
show_linked: true
hide_when_ok: false
zoom: true
language: fr

Options reference#

Option Card Default Description
title both Automation Monitor Card title
show_failed both true Failed automations (counter and list)
show_linked both true Unavailable linked entities (counter and list)
expand_failed full false Failed automations expanded when the card loads (click the section title to fold / unfold)
expand_linked full false Unavailable linked entities expanded when the card loads (click the section title to fold / unfold)
show_details full true Error message of each failed automation
show_controls full true Clear and Clear all buttons (administrators only, like the Trace and Edit links and the Refresh button)
max_items full 5 Items shown per list before the "Show more" button
hide_when_ok both false Hide the card while all is good (no failed automation, no unavailable linked entity among the lists shown). Never hidden while a sensor can't be read, nor while the dashboard is being edited
zoom mini true Detail button at the top right: switches to the full card and back (false removes it)
exclude_devices both — Devices to ignore: their unavailable linked entities (and failed automations attached to them) are left out of the lists, counters and status. Device ids (written by the visual editor) or device names
exclude_entities both — Entities to ignore: failed automations and unavailable linked entities whose entity id matches are left out of the lists, counters and status. Entity ids or patterns with * (any characters) and ? (one character), e.g. automation.test_*; case-insensitive
failed_entity both Auto Failed automations sensor, only needed if it can't be found automatically
linked_entity both Auto Unavailable linked entities sensor, only needed if it can't be found automatically
language both Auto Force language: en, fr, de, es, sr, sr-Latn, it, nl, pt, pl, ro, da, sv, bg, ru, uk, hu, sk, cs, sl, lv or el (auto-detects from HA settings)

How it works

How it works

The integration exposes two sensors: Failed automations, whose automations attribute lists the automations whose last run failed (error message, failed step, time, consecutive failures), and Linked entities unavailable, whose entities attribute lists the entities used by automations, scripts and scenes that have been unavailable longer than the configured threshold. The cards find both sensors in the entity registry by their translation_key (failed_automations, linked_entities_unavailable), so they work even when the entity ids are translated or renamed.

The Trace and Edit buttons use the automation's id: they work for automations created in the UI (or with an id: in YAML). Scripts and scenes listed under Used by open their editor the same way.

Clear calls automation_monitor.reset for one automation, Clear all for all of them: the failure disappears until the automation fails again. When exclude_devices or exclude_entities hide some failed automations, Clear all only clears the ones listed (one call per automation) and leaves the hidden ones untouched. Refresh calls automation_monitor.rebuild_linked_entities, useful right after editing a script or a scene.

What counts as a failure, the unavailability threshold, the exclusions and the Repairs issues are set in the integration's options: see its documentation.

Support

Support

If you find this project useful, you can support its development:

Buy Me a Coffee

1.17.1Nov 9, 2026Latest

Fixes

  • Translations: the cards are defined once the page's language file has arrived (at most 1.5 s; Home Assistant builds a card when its element gets defined), so the first render is already translated instead of English then redrawn; until a language file is in, a missing text reads the English one wherever the card has no fallback of its own.

1.17.0Nov 9, 2026

Performance

  • Translations load on demand: the bundle keeps English only (123 KB → 74 KB) and each other language is its own automation-monitor-card.i18n.<lang>.js file next to it, fetched the first time a card needs it. Home Assistant loads every dashboard resource on every dashboard, so each page used to download and parse all 22 languages to use one. Until a language file has arrived (a few milliseconds), texts fall back to English, and the cards redraw once it is there.

Maintenance

  • Build: scripts/i18n-split.mjs splits the built bundle and rebuilds every table from the split files to check them (the build fails on any difference); src/ keeps every language as before.
  • Release: every file of dist/ is attached. Manual installation copies the translation files too.

1.16.1Nov 8, 2026

Fixes

  • Cards: the Refresh and detail buttons, which only show an icon, now have an accessible name, the detail button tells screen readers whether the full card is shown, and the confirmation popup is announced with its message.
  • Cards: only the filter of the current Ignored entities value is kept in memory, instead of one per value ever used.

1.16.0Nov 7, 2026

What's new

  • Cards: Ignored entities (exclude_entities), in the visual editor of both cards: entity ids or patterns with * and ? (e.g. automation.test_*) whose failed automations and unavailable linked entities are left out of the lists, counters and status.

Security

  • Cards: the Trace, Edit, Clear, Clear all and Refresh buttons and the editor links under "Used by" are only shown to administrators; other users open the more-info dialog from "Used by" instead.

Fixes

  • Full card: Clear all no longer clears failed automations hidden by exclude_devices or exclude_entities; it then clears only the listed ones.
  • Cards: the date and time shown when hovering a failure time follow the 12 / 24 h setting of the Home Assistant profile.

1.15.2Nov 4, 2026

Documentation

  • README: images and links use absolute URLs, so the screenshots, icons, badges and links display in HACS (relative paths broke there).
  • README: screenshots get a display size, so cards no longer show oversized in HACS and on GitHub.

1.15.1Nov 4, 2026

Added

  • Added Romanian, Danish, Swedish, Bulgarian, Russian, Ukrainian, Hungarian, Slovak, Czech, Slovenian, Latvian and Greek translations: ro, da, sv, bg, ru, uk, hu, sk, cs, sl, lv and el, picked automatically from the Home Assistant language and offered in the editor's language list, with their plural forms for the counters ("2 проблемы", "5 problémů", "2 težavi"…).