Skip to content

Commit

Permalink
Merge branch 'master' of github.com:nervetattoo/banner-card
Browse files Browse the repository at this point in the history
* 'master' of github.com:nervetattoo/banner-card:
  Make card appear in lovelace card picker
  • Loading branch information
nervetattoo committed Dec 17, 2020
2 parents 9ba1f54 + c1e6daf commit d71df41
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 d71df41

Please sign in to comment.