Update cookcli-card.js
This commit is contained in:
parent
4adc650972
commit
5be58c5d33
11
dist/cookcli-card.js
vendored
11
dist/cookcli-card.js
vendored
|
|
@ -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) {
|
||||
|
|
|
|||
Reference in a new issue