My Lovelace Plugins

After updating to 0.88 my auto-entities lovelace card is broken.

It says:

Custom element doesn’t exist: auto-enties.
Worked perfectly before updating.

Update card-tools

my card tools version is deb8e3.

it shows as the newest in custom updater

Have you cleared your cache?

In chrome: Push F12 to open dev console. Right click refresh button. Select bottom option to clear cache and do a hard reload.

1 Like

I’m on a mac using safari. Deleting the cache did not solve the issue unfortunately.

Had the same issue, custom updater was also showing that I was on deb8e3, but manually updating and then doing a diff between the two it appears I was still on the old version.

diff card-tools.js card-tools.js.bk
15c15
<     return Object.getPrototypeOf(customElements.get('home-assistant-main'));
---
>     return Object.getPrototypeOf(customElements.get('hui-error-entity-row'));

Might be worth checking yours is actually up to date?

Hi,

same issue here: can’t find card-tools.

Already tried with cleared cache.

Here’s the error in chrome console:

c44e5d5….chunk.js:5945 GET http://192.168.2.100:8123/local/card-tools.jsv=0.3 net::ERR_ABORTED 404 (Not Found)
c44e5d5….chunk.js:5945 Uncaught (in promise) /local/card-tools.jsv=0.3
c44e5d5….chunk.js:4807 layout-card Error: Can't find card-tools. See https://github.com/thomasloven/lovelace-card-tools
    at HTMLElement.setConfig (layout-card.js:175)
    at create_card_element_createElement (c44e5d5….chunk.js:4807)
    at createCardElement (c44e5d5….chunk.js:4807)
    at HTMLElement._selectView (c44e5d5….chunk.js:5915)

cart-tool version is deb8e3

The strange thing is that it happens only in some cards.

Check the url you’re using to import card-tools again…

1 Like

you are right. Changing

/local/card-tools.jsv=0.3

to

/local/card-tools.js?v=0.3

restored it

Sorry but I do not know what the correct config is to get card-tools into the custom updater.

9 posts were split to a new topic: Problems with new custom_updater features - Split off from My Lovelace Plugins

I’ve a concept of how I want my Lovelace to endup looking which has led me to a Question / Feature Request about the layout-card. Any chance you could add configuration options so that we can have custom css on a particular column of the card?

This would let us have particular columns wider than others by altering flex-grow for them, or in my case allow a two column page with breaks and tweaking on the second column’s flex-grow and max-width to look like this:

I’ve seen others mention this too but I’ve never been able to find that button in the dev console panel.

Can you point me to where it is?

The normal refresh button. To the left of the address bar.

Oh, I see now. :flushed: I never knew that was hidden under there.

Thanks!

Me neither. I just learned yesterday.

1 Like

I’ve been thinking of adding variable column widths…
Can probably find some time to give it a try next week or so…

Or perhaps this can help? https://github.com/jeradM/grid-layout I’ve never tried it myself.

1 Like

Since the 0.88 update, my fold-entity-row is not working anymore…
I double checked everything, no idea why (same for auto-entities)

It’s really there, updated etc…

resources:
  - url: /customcards/tracker-card.js
    type: js
  - url: /customcards/custom-lovelace/upcoming-media-card/upcoming-media-card.js
    type: js
  - url: /customcards/custom-lovelace/swipe-card/swipe-card.js
    type: module
  - url: /customcards/custom-lovelace/mini-media-player/mini-media-player-bundle.js
    type: module
  - url: /customcards/custom-lovelace/monster-card/monster-card.js
    type: js
  - url: /customcards/custom-lovelace/slider-entity-row/slider-entity-row.js
    type: js
  - url: /customcards/custom-lovelace/popup-card/popup-card.js
    type: js
  - url: /customcards/custom-lovelace/fold-entity-row/fold-entity-row.js
    type: js
  - url: /customcards/custom-lovelace/card-modder/card-modder.js
    type: module
  - url: /customcards/custom-lovelace/state-attribute-element/state-attribute-element.js
    type: js
  - url: /customcards/custom-lovelace/text-element/text-element.js
    type: js
  - url: /customcards/custom-lovelace/card-tools/card-tools.js
    type: js    
  - url: /customcards/custom-lovelace/vertical-stack-in-card/vertical-stack-in-card.js
    type: js     
  - url: /customcards/custom-lovelace/button-card/button-card.js
    type: module    
  # - url: /customcards/custom-lovelace/compact-custom-header/compact-custom-header.js
    # type: module    
  - url: /customcards/custom-lovelace/roku-card/roku-card.js
    type: module 
  - url: /customcards/custom-lovelace/auto-entities/auto-entities.js
    type: js     
  - url: /customcards/custom-lovelace/mini-graph-card/mini-graph-card-bundle.js
    type: module    
  - url: /customcards/custom-lovelace/bignumber/bignumber-card.js
    type: js

Here: (Problems with new custom_updater features - Split off from My Lovelace Plugins)

@thomasloven This is no longer working: ’your fix from above’ ==>My Lovelace Plugins , the images display usually on the first empty card back and no longer as the background image. Not sure which update it quit working on due to me being in the process of rebuilding everything. Wasn’t due to the newest updates, as this stopped sometime last week. I think it may be related to a card-tools modification. I have tried the older version of card-modder to test against like before, but acts the same. Any ideas? Thanks!