Update cookcli-card.js

This commit is contained in:
TheThomaas 2026-09-16 15:49:28 +02:00
parent 4adc650972
commit 5be58c5d33

11
dist/cookcli-card.js vendored
View file

@ -185,7 +185,16 @@ class CookCliCard extends HTMLElement {
class CookCliCardEditor extends LitElement {
setConfig(config) {
this._config = config || {};
this._config = config;
}
configChanged(newConfig) {
const event = new Event("config-changed", {
bubbles: true,
composed: true,
});
event.detail = { config: newConfig };
this.dispatchEvent(event);
}
set hass(hass) {