Update cookcli-card.js

This commit is contained in:
TheThomaas 2026-09-16 15:39:43 +02:00
parent 990bf6fce4
commit 56429986b9

26
dist/cookcli-card.js vendored
View file

@ -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 {
}
},
};
}*/
}
}