mathoudebine / homeassistant-browser-control-card

Control your browser from a Home Assistant lovelace card: full screen, disable screen lock, zoom, reload page...
MIT License
12 stars 0 forks source link

Custom element doesn't exist: browser-control-card #11

Closed AlexQuaken closed 1 year ago

AlexQuaken commented 1 year ago

Stop working one week ago

image

AlexQuaken commented 1 year ago

GET https://unpkg.com/@lit/reactive-element@2.0.0/reactive-element.js?module net::ERR_ABORTED 500 (Internal Server Error)

https://unpkg.com/lit?module is get wrong answer, in browser console, so I try change in the code> but it now work (((

Replace this line in your code:

import { html, css, LitElement } from "https://unpkg.com/lit?module";

import { html, css, LitElement } from "https://cdn.jsdelivr.net/npm/lit@latest?module";

Downgrade to version 1.0 it is work now

mathoudebine commented 1 year ago

Hi @AlexQuaken this issue is now fixed on v1.3.1! Feel free to update through HACS