Skip to content

thecodingdad/mirror-card

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mirror Card

A card that clones/mirrors cards from other dashboard views. Supports three nesting levels: entire view, section, or individual card.

hacs_badge GitHub Release

Screenshot

Mirror Card

Features

  • Three mirroring modes:
    • View-only: Mirror all cards from a view
    • View + Section: Mirror all cards from a specific section
    • View + Section + Card: Mirror a single specific card
  • Layout preservation (native) or override (stack/grid)
  • Source resolution by view index or path
  • Dynamic card creation and rendering
  • EN/DE multilanguage support
  • Note: Since there is no unique identifier for a card, mirroring is based on section/card indexes. When you move the source card (index changes), the mirror-card will point to another card.

Prerequisites

  • Home Assistant 2026.3.0 or newer
  • HACS (recommended for installation)

Installation

HACS (Recommended)

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

Or add manually:

  1. Open HACS in your Home Assistant instance
  2. Click the three dots in the top right corner and select Custom repositories
  3. Enter https://github.com/thecodingdad/mirror-card and select Dashboard as the category
  4. Click Add, then search for "Mirror Card" and download it
  5. Reload your browser / clear cache

Manual Installation

  1. Download the latest release from GitHub Releases
  2. Copy the dist/ contents to config/www/community/mirror-card/
  3. Add the resource in SettingsDashboardsResources:
    • URL: /local/community/mirror-card/mirror-card.js
    • Type: JavaScript Module
  4. Reload your browser

Usage

Mirror an entire view

type: custom:mirror-card
source_view: 2

Mirror a specific section

type: custom:mirror-card
source_view: overview
source_section: 1

Mirror a specific card

type: custom:mirror-card
source_view: overview
source_section: 1
source_card: 0
layout: native

Configuration

Card Options

Option Type Default Description
source_view number/string required Source view index (number) or path (string)
source_section number Section index within the view
source_card number Card index within the section
layout string native Layout mode: native, stack, or grid

Multilanguage Support

This card supports English and German.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Mirror/clone cards from other Home Assistant dashboard views at view, section, or card level

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors