whatisgithub

What is ha-linked-cards?

rusty4444/ha-linked-cards — explained in plain English

Analysis updated 2026-05-18

22JavaScriptAudience · generalComplexity · 2/5Setup · moderate

In one sentence

A Home Assistant custom integration that lets you build one master dashboard card template and reuse lightweight linked copies across multiple dashboards, so edits update everywhere at once.

Mindmap

mindmap
  root((repo))
    What it does
      Reusable card templates
      Linked instances
      Live template updates
    Tech stack
      JavaScript
      Home Assistant
      HACS
    Use cases
      Sync dashboards
      Reuse room cards
      Manage templates in UI
    Audience
      Home Assistant users
      Smart home tinkerers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Maintain one master dashboard card design and have every room's linked copy update automatically

USE CASE 2

Build shared pop-up or header cards on a hidden dashboard and reuse them across other dashboards

USE CASE 3

Export and import card templates as JSON to back them up or share them with others

What is it built with?

JavaScriptHome AssistantHACSREST API

How does it compare?

rusty4444/ha-linked-cardsalgorave-dave/fail-safeavaritiachaos/qoder-proxy
Stars222222
LanguageJavaScriptJavaScriptJavaScript
Setup difficultymoderateeasymoderate
Complexity2/51/53/5
Audiencegeneralgeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires an existing Home Assistant instance and HACS, plus restarting HA and adding a frontend resource manually.

License is not stated in the available content.

So what is it?

ha-linked-cards is a custom integration for Home Assistant, the open source home automation platform. It lets you build a dashboard card once and reuse it across multiple views without copying and pasting the same configuration everywhere. Home Assistant users often keep several dashboards, for example a wall tablet, a phone view, an admin view, and room specific pages. The same room card or status card tends to get duplicated across all of them, which means editing several copies whenever something changes and risking dashboards that drift out of sync. This project addresses that by letting you define a single master card template and then place lightweight linked copies wherever you need them. When the master template is edited, every linked copy updates to match after a refresh. The integration adds two custom cards to Home Assistant's dashboard editor. The linked-card component renders a stored template by its id, or pulls cards directly from another dashboard or view, and it supports Home Assistant's visual UI editor with a template picker and variable overrides. The linked-card-manager component is used to create, edit, export, and import templates from within the Home Assistant interface itself, so you do not need to hand edit YAML files. Templates support variable placeholders, so the same layout can be reused with different entities and labels in each room. A source dashboard mode lets you maintain a shared set of cards, such as pop-ups or a common header, on one dashboard and reuse them on others. Installation is done through HACS as a custom repository, or by manually copying the integration folder into Home Assistant and restarting. After installing, you also need to add the project's JavaScript resource file to your dashboard resources. The project also exposes a REST API that authenticated Home Assistant users can call to list, save, and delete templates programmatically. This tool is aimed at Home Assistant users who run multiple dashboards and want to avoid maintaining duplicate card configurations by hand, particularly those already comfortable with the HACS ecosystem and JSON template definitions.

Copy-paste prompts

Prompt 1
Help me install the Linked Cards custom integration in Home Assistant using HACS and add the frontend resource.
Prompt 2
Write a master card template JSON for Linked Cards that shows a light tile and a climate tile for a room, using variables for the entity ids.
Prompt 3
Show me how to set up source-dashboard mode in Linked Cards so I can reuse a shared header across all my Home Assistant dashboards.
Prompt 4
Explain how to call the Linked Cards REST API to list and save dashboard card templates.

Frequently asked questions

What is ha-linked-cards?

A Home Assistant custom integration that lets you build one master dashboard card template and reuse lightweight linked copies across multiple dashboards, so edits update everywhere at once.

What language is ha-linked-cards written in?

Mainly JavaScript. The stack also includes JavaScript, Home Assistant, HACS.

What license does ha-linked-cards use?

License is not stated in the available content.

How hard is ha-linked-cards to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is ha-linked-cards for?

Mainly general.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.