Closed bieniu closed 3 years ago
I can confirm is broken.
Glad I didn't update yet 😄. I agree it's most likely related to that change, I'll check it out tonight (like T-20h)
This should be fixed in release 0.3.4. Hopefully, that's all that this release broke 😁.
@jcwillox it seems not work for me, I get this error:
Uncaught (in promise) TypeError: customElements.get(...).getStyles is not a function
at canary.js:1
I've tried to restart HA and clear cache, but maybe I did something wrong.
@bieniu it works for you?
It must be on your end, I just checked the uploaded canary.js
as it has no references to the .getStyles
function anymore. Restarting HA probably won't do anything, try hitting ctrl+shift+r
(force reload page) a couple of times, if that doesn't work, maybe try reinstalling canary?
You are right @jcwillox without touching anything, it has started to work. Sorry for bother with this. I tried several times the refreshing without cache but it didn't work. Now it does.
Thanks!
That's all good browser cache has always been a bit odd, glad it's working now.
I can confirm that the new version works without any problems. Thanks!
Card configuration:
I think this problem is related to this https://developers.home-assistant.io/blog/2021/05/19/lit-2.0
Console error: