Files
houseplan-card/custom_components/houseplan/frontend/houseplan-card.js
T
2026-08-28 23:16:58 +03:00

2 lines
1.1 KiB
JavaScript

globalThis.__HOUSEPLAN_BUILD_FINGERPRINT__="dcade390c5de1a3b8ba29307c6f93fdfd8bda1809b228f1242b561be04d14fe4";try{await import("./houseplan-assets/houseplan-card-B_i3R4iG.js")}catch(e){if(!customElements.get("houseplan-card")){const l=String(navigator.language||"en").toLowerCase();const m=l.startsWith("ru")?"House Plan обновился — перезагрузите страницу (Ctrl+F5).":l.startsWith("de")?"House Plan wurde aktualisiert — bitte laden Sie die Seite neu (Strg+F5).":"House Plan was updated — please reload the page (Ctrl+F5).";customElements.define("houseplan-card",class extends HTMLElement{setConfig(){}getCardSize(){return 1}connectedCallback(){this.style.cssText="display:block;box-sizing:border-box;padding:16px;border:1px solid var(--divider-color,#e0e0e0);border-radius:var(--ha-card-border-radius,12px);background:var(--card-background-color,#fff);color:var(--primary-text-color,#212121);font:14px/1.4 var(--paper-font-body1_-_font-family,sans-serif)";this.textContent=m}})}console.error("[houseplan] stale entry: the main chunk is unavailable",e)}