From 56429986b9b0ad8e04d4a59c268b357ccf46c625 Mon Sep 17 00:00:00 2001 From: TheThomaas Date: Wed, 16 Sep 2026 15:39:43 +0200 Subject: [PATCH] Update cookcli-card.js --- dist/cookcli-card.js | 26 +------------------------- 1 file changed, 1 insertion(+), 25 deletions(-) diff --git a/dist/cookcli-card.js b/dist/cookcli-card.js index e27f84c..1d284b5 100644 --- a/dist/cookcli-card.js +++ b/dist/cookcli-card.js @@ -198,30 +198,6 @@ class CookCliCardEditor extends LitElement { } static getConfigForm() { - return { - schema: [ - { name: "label", selector: { label: {} } }, - { name: "entity", required: true, selector: { entity: {} } }, - ], - computeLabel: (schema) => { - return undefined; - }, - computeHelper: (schema) => { - switch (schema.name) { - case "entity": - return "This text describes the function of the entity selector"; - } - return undefined; - }, - assertConfig: (config) => { - if (config.other_option) { - throw new Error("'other_option' is unexpected."); - } - }, - }; - } - - /*static getConfigForm() { return { schema: [ { @@ -262,7 +238,7 @@ class CookCliCardEditor extends LitElement { } }, }; - }*/ + } }