Skip to content

Commit

Permalink
Make card appear in lovelace card picker
Browse files Browse the repository at this point in the history
  • Loading branch information
dcs8 committed Nov 15, 2020
1 parent 70419c7 commit d178a36
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit d178a36

Please sign in to comment.