Add boilerplate-card to card picker

This commit is contained in:
Ian Richardson
2020-05-02 21:16:18 -05:00
parent a46da131d1
commit 2e0bb00b41
2 changed files with 8 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "boilerplate-card", "name": "boilerplate-card",
"version": "1.1.8", "version": "1.1.9",
"description": "Lovelace boilerplate-card", "description": "Lovelace boilerplate-card",
"keywords": [ "keywords": [
"home-assistant", "home-assistant",
+7
View File
@@ -24,6 +24,13 @@ console.info(
'color: white; font-weight: bold; background: dimgray', 'color: white; font-weight: bold; background: dimgray',
); );
(window as any).customCards = (window as any).customCards || [];
(window as any).customCards.push({
type: 'boilerplate-card',
name: 'Boilerplate Card',
description: 'A template custom card for you to create something awesome',
});
// TODO Name your custom element // TODO Name your custom element
@customElement('boilerplate-card') @customElement('boilerplate-card')
export class BoilerplateCard extends LitElement { export class BoilerplateCard extends LitElement {