PersonalJavaScript

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 and entity_id text 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.) and entity_id text
  • 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. It is a single JS file that can be loaded directly.