Add boilerplate-card to card picker
This commit is contained in:
+1
-1
@@ -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",
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user