Lovelace Card Preloader

I am having an issue with an iframe card. I added it to the list for preload cards however I am still receiving this error:
image

preload_cards:
  - iframe

Is there a way to resolve this?

Due to problem in the doorpi project running a custom card that is not ready for the new custom card version, I have installed this tool. From some reason it has the same issue the doorpi has eg. Custom card doesn’t exists. Any idea?
I am running on Verizon 0.108.6.

Hi @Steven_Rollason, I appear to have a similar issue that this card aims to fix, but I’m having no luck making it work. Do you think it’s due to me using browser_mod to achieve the popup card? I saw that you linked to a conditional card issue earlier, but that looks to have been fixed in 1.108.0 and I’m running 1.108.9.

This is the error:
image

Here is the code I’m using:

resources:
  - url: /hacsfiles/lovelace-card-preloader/lovelace-card-preloader.js
    type: js
 
preload_cards:
  - entity-filter

title: Home
views:
  - title: Test2
    panel: false
    path: test2
    popup_cards:
      input_boolean.window_is_open:
        title: Open Windows
        card:
          type: entity-filter
          state_filter:
            - "Open"
          entities:
            - sensor.win_lounge_top_left
            - sensor.win_lounge_top_right
    cards:
      - type: conditional
        conditions:
          - entity: input_boolean.kiosk_cond_btt1
            state: "on"
        card:
          type: button
          name: Turn Off Lights
          entity: input_boolean.window_is_open
          tap_action:
            action: more-info

Thanks.

after updating the HA stopped working custom:hui-conditional-card

I also seem to have trouble getting it to work. I have added the following to my lovelace config:

preload_cards:
  - button-card
  - mini-media-player
  - mod-card
  - stack-in-card
  - auto-entities
  - simple-weather-card
  - simple-thermostat
  - aarlo-glance
preload_rows:
  - fold-entity-row
  - slider-entity-row

Yet i still get red errors in my Lovelace views from time to time saying failed to load custom cards and forcing me to keep reloading the page until they finally show up. Anything i am doing wrong?

See if this works any better for you:

Is the preloader still needed in 0.118?

Yes, since lazy loading is still used in 0.118. However, you might find that hui-element (linked in the previous comment) is a better solution.

Same question, with the 2021 release is still needed this card?

Just try…

I sometimes have a problem with a swipe card :

Could this preloader card avoid this and if so, how do I have to configure it ?