-
Notifications
You must be signed in to change notification settings - Fork 2
Layout Backup and Restore
jv edited this page Jun 3, 2026
·
2 revisions
Your dashboard layout (all views, tiles, and at-a-glance button config) can be exported to a JSON file and re-imported on another device or a fresh deploy — so you never have to rebuild it by hand.
- Open Settings (gear icon).
- Dashboard data → Export layout.
- A file downloads, named
ha-dashboard-layout-YYYY-MM-DD.json.
- Open Settings on the target dashboard.
- Dashboard data → Import layout, pick the file.
- The dashboard validates it, saves, and reloads.
The add-on seeds a generic starter layout on first run. To bring your existing dashboard over:
- Export from your current dashboard (above).
- Install + open the add-on.
- Import the file there.
- Personal layout files are gitignored and must never be committed:
layouts.jsonandmy-dashboard-layout.backup.json. -
exportLayout()strips the derivedrowsbefore serializing;importLayout()validates that it's a non-empty array of views with stringids and throws on invalid input. - On the add-on, the live layout lives at
/data/layouts.json(persistent volume).