From d178a36d7420d1b30de42492e10f6992f8b234b6 Mon Sep 17 00:00:00 2001 From: dcs8 Date: Sun, 15 Nov 2020 10:18:48 +0000 Subject: [PATCH] Make card appear in lovelace card picker --- src/index.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/index.js b/src/index.js index c28a088..3b1b8d7 100644 --- a/src/index.js +++ b/src/index.js @@ -456,4 +456,14 @@ class BannerCard extends LitElement { window.customElements.define("banner-card", BannerCard); +// Configure the preview in the Lovelace card picker +window.customCards = window.customCards || []; +window.customCards.push({ + type: "banner-card", + name: "Banner Card", + preview: false, + description: + "The Banner card is a linkable banner with a large heading and interactive glaces of entities" +}); + export default BannerCard;