From 2deb34bf6131faa34677aad488f127032187a45e Mon Sep 17 00:00:00 2001 From: Roy Shmueli <2903801+2roy999@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:23:21 +0200 Subject: [PATCH] Upgrade to lit v2 --- button-entity-row.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/button-entity-row.js b/button-entity-row.js index 8b16d48..1222dc6 100644 --- a/button-entity-row.js +++ b/button-entity-row.js @@ -1,6 +1,8 @@ -const LitElement = Object.getPrototypeOf(customElements.get("hui-view")) -const html = LitElement.prototype.html -const css = LitElement.prototype.css +import { + LitElement, + html, + css, +} from "https://unpkg.com/lit-element@2.0.1/lit-element.js?module"; class ButtonEntityRow extends LitElement { static get properties() {