Personal JavaScript 12

ha-entity-exporter-card

Home Assistant custom card for entity filtering and JSON export.

home-assistantsmart-homelovelacecustom-card

What it does

A custom Lovelace card for Home Assistant that lets you filter entities by domain, name, or state pattern and export the results as JSON. Useful for debugging automations, auditing entity configurations, or migrating setups.

Key features

  • Entity filtering — filter by domain (sensor, light, switch, etc.), name pattern, or state value
  • JSON export — one-click export of filtered entities with all attributes
  • Real-time updates — live filtering as you type with instant results
  • Lightweight — minimal dependency footprint, works with any Home Assistant installation

Tech stack

Vanilla JavaScript custom element implementing the Home Assistant Lovelace card API. No build step required — single JS file that can be loaded directly.