Update cookcli-card.js

This commit is contained in:
TheThomaas 2026-09-16 16:16:13 +02:00
parent 6f96610834
commit 6390516de1

View file

@ -58,7 +58,8 @@ class CookCliCard extends HTMLElement {
return { return {
schema: [ schema: [
{ name: "title", selector: { text: {} }, label: "Titre" }, { name: "title", selector: { text: {} }, label: "Titre" },
{ name: "dashboard_path", selector: { text: {} }, label: "Chemin du dashboard", helper: "Laisser vide pour le dashboard courant" }, //{ name: "dashboard_path", selector: { text: {} }, label: "Chemin du dashboard", helper: "Laisser vide pour le dashboard courant" },
{ name: "dashboard_path", selector: { ui_action: {} }, label: "Chemin du dashboard", helper: "Laisser vide pour le dashboard courant" },
{ name: "entry_id", selector: { text: {} }, label: "Entry ID", helper: "Optionnel — si plusieurs serveurs CookCLI" }, { name: "entry_id", selector: { text: {} }, label: "Entry ID", helper: "Optionnel — si plusieurs serveurs CookCLI" },
], ],
}; };
@ -199,5 +200,6 @@ window.customCards = window.customCards || [];
window.customCards.push({ window.customCards.push({
type: "cookcli-card", type: "cookcli-card",
name: "CookCLI Recipes", name: "CookCLI Recipes",
preview: false,
description: "Liste navigable de tes recettes CookCLI.", description: "Liste navigable de tes recettes CookCLI.",
}); });