Lovelace in 106 beta

My speedtest cards broke as well on 106. I went back to 105 which I had a snapshot of right before I did the ug.

EDIT:
Hm… ok, so custom cards break in 106 and it appears the hui card is somehow being customized by the speedtest card.

Unfortunately debugging this this is above my pay grade.

Please make a little test for me. Create one normal gauge card on your view.
Do the gauges in the entities card load?

Why are you discussing 0.106 in the 0.105 thread?

1 Like

This is the only thread I could find discussing and if the beta releases. Point me in the right direction and I’m happy to pack up and move…

Go on discord and there is a beta channel there to discuss the current beta build.

@jazzmonger, there’s an open issue and a temporary fix about this now.


Create a file preloader.js in your www folder,
const preloadCard = type => window.loadCardHelpers()
  .then(({ createCardElement }) => createCardElement({type}))

preloadCard("gauge");

and add it to the resources in ui-lovelace.yaml or the raw config editor.

  - url: /local/preloader.js
    type: js

Works for me with a markdown card.

preloadCard("markdown");

Thanks @balloob, for this!
I think that’s a good point for the release tomorrow.

EDIT: I’m ready for 0.106 now! :tada:

EDIT 2: The PR that caused this issue was reverted until 0.107. So this is NOT needed.

1 Like

Is this for custom cards as well? I’ve noticed on iOS in the App and also chrome (iOS) that my animated icons on a weather card are not animated anymore since 0.106.0bx

Good info. Thx.

@DavidFW1960, sorry, no clue. Just copied the code from balloobs comment. :innocent:

1 Like

This was added using a standard gauge card… here is the code from the card: