UI icon indicating copy to clipboard operation
UI copied to clipboard

Nothing works. No cards found. new install

Open kmanan opened this issue 3 years ago • 22 comments

Did a brand new HACS install and then got the integration. Nothing works. Here's what I get:

image

kmanan avatar Feb 08 '23 21:02 kmanan

Same here; I have "Include Custom Card Resources" checked, but it doesn't seem to be working. Where should I be seeing these downloaded to (to check and see if they're being downloaded at all)? image

samphonic avatar Feb 18 '23 07:02 samphonic

Same here. Tried EVERYTHING i can think of...followed all guides... Copied thos templates everywhere... Please somone respond....

addelovein avatar Feb 24 '23 18:02 addelovein

I think that the new installer is broken, and doesn't automatically install all the required dependencies.

So, to fix it, you need to install them by following these steps:

  • Home Assistant:
    • HACS:
      • Integrations > + EXPLORE & DOWNLOAD REPOSITORIES (bottom right) > search "browser_mod" > browser_mod > ⬇️ DOWNLOAD (bottom right) > DOWNLOAD
      • Frontend:
        • (top right) > Custom repositories > set Repository to https://github.com/AnthonMS/my-cards > set Category to Lovelace > ADD
        • My Cards Bundle > ⬇️ DOWNLOAD (bottom right) > DOWNLOAD > CANCEL (source)
        • + EXPLORE & DOWNLOAD REPOSITORIES (bottom right) > search "button-card" > button-card > ⬇️ DOWNLOAD (bottom right) > DOWNLOAD > CANCEL
        • Repeat the last step by:
          • searching "lovelace-card-mod" and selecting card-mod
          • searching and selecting mini-graph-card
          • searching "mini-media-player" and selecting Mini Media Player
          • searching "light-entity-card" and selecting Light Entity Card
          • searching "lovelace-auto-entities" and selecting auto-entities > RELOAD (instead of CANCEL)
    • Developer Tools > RESTART (red) > RESTART

But, I think something is still missing 🤔

revolter avatar Feb 25 '23 10:02 revolter

I have the same issue here, new install of HASS 2023.3.6 in docker, tried both manualy installing the deps in HACS, let Minimalist deal with it, nothing is working...

GameTec-live avatar Apr 03 '23 10:04 GameTec-live

Any update on this by any chance? I'm having the same issue. I followed the steps mentioned by Revolter but also added the following (found these in another thread):

  • simple-weather-card
  • layout-card
  • state-switch

I also added the sources in ui-lovelace.yaml (not sure if this was a step that was needed, but every install popup mentioned something like this). The final list looked like this:

resources:
  - url: /hacsfiles/button-card/button-card.js
  - url: /hacsfiles/lovelace-card-mod/card-mod.js
  - url: /hacsfiles/l/mini-graph-card-bundle.js?v=0.11.0
  - url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
  - url: /hacsfiles/light-entity-card/light-entity-card.js
  - url: /hacsfiles/my-cards/my-cards.js
  - url: /hacsfiles/lovelace-auto-entities/auto-entities.js
  - url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js
  - url: /hacsfiles/lovelace-layout-card/layout-card.js
  - url: /hacsfiles/lovelace-state-switch/state-switch.js
type: module

After this it worked! Yay!

But then it didn't. The only thing I did was run a backup but nothing else. Am I missing something?

jorisvanr avatar Apr 04 '23 11:04 jorisvanr

Best practice is to load the resources in the dashboard resources tab: Open your Home Assistant instance and show your dashboard resources.

Note that when HACS does not put the resources already there, it gives a warning like this Screen Shot 2023-04-04 at 14 20 36

basbruss avatar Apr 04 '23 12:04 basbruss

Thanks! I feel like such a noob :). This was the last piece of the puzzle I needed!

jorisvanr avatar Apr 04 '23 12:04 jorisvanr

Best practice is to load the resources in the dashboard resources tab: Open your Home Assistant instance and show your dashboard resources.

Note that when HACS does not put the resources already there, it gives a warning like this Screen Shot 2023-04-04 at 14 20 36

Thanks! this fixed it... what the hell is lovelace storage mode tho...

GameTec-live avatar Apr 04 '23 15:04 GameTec-live

Just installed on a fresh HA OS and the same issue occurs. The installer via HACS is definitely broken.

smartypantsuk avatar Apr 09 '23 20:04 smartypantsuk

Just installed on a fresh HA OS and the same issue occurs. The installer via HACS is definitely broken.

ok, nope... its a lovelace thing. by default lovelace runs in storage mode, sou you have to add all of the resources manually on the resources page. theres also a way to get lovelace go out of storage mode (confiuguration.yaml, but i dont remember rn)... when installing the dependencys manually just make note of the url on each and add them in the hass resources view

GameTec-live avatar Apr 10 '23 04:04 GameTec-live

Just installed on a fresh HA OS and the same issue occurs. The installer via HACS is definitely broken.

ok, nope... its a lovelace thing. by default lovelace runs in storage mode, sou you have to add all of the resources manually on the resources page. theres also a way to get lovelace go out of storage mode (confiuguration.yaml, but i dont remember rn)... when installing the dependencys manually just make note of the url on each and add them in the hass resources view

Ok. Can you not put lovelace out of storage mode then run the installer in hacs?

Further, surely hacs installer should install the dependencies based on the current mode. Therefore should hacs not be placing the entries in the resource section in the UI,

smartypantsuk avatar Apr 10 '23 06:04 smartypantsuk

arrrggg

This is what I'm currently struggling with. I've added all the resources in the UI Resource manager, I've refreshed browser cache and ui-lovelace-minimalist config numerous times along with restarting of HA. Sometimes I get more spinning circles, other times I get 2 or 3. I've even tried installing a fresh new browser (firefox) to rule out caching.

I don't have errors in logs.

smartypantsuk avatar Apr 10 '23 08:04 smartypantsuk

Just installed on a fresh HA OS and the same issue occurs. The installer via HACS is definitely broken.

ok, nope... its a lovelace thing. by default lovelace runs in storage mode, sou you have to add all of the resources manually on the resources page. theres also a way to get lovelace go out of storage mode (confiuguration.yaml, but i dont remember rn)... when installing the dependencys manually just make note of the url on each and add them in the hass resources view

Ok. Can you not put lovelace out of storage mode then run the installer in hacs?

Further, surely hacs installer should install the dependencies based on the current mode. Therefore should hacs not be placing the entries in the resource section in the UI,

hacs cant/doesnt put it into resources... (afaik) To put lovelace out of storage mode, add this to your configuration.yaml: lovelace: mode: storage

GameTec-live avatar Apr 10 '23 18:04 GameTec-live

Just installed on a fresh HA OS and the same issue occurs. The installer via HACS is definitely broken.

ok, nope... its a lovelace thing. by default lovelace runs in storage mode, sou you have to add all of the resources manually on the resources page. theres also a way to get lovelace go out of storage mode (confiuguration.yaml, but i dont remember rn)... when installing the dependencys manually just make note of the url on each and add them in the hass resources view

Ok. Can you not put lovelace out of storage mode then run the installer in hacs? Further, surely hacs installer should install the dependencies based on the current mode. Therefore should hacs not be placing the entries in the resource section in the UI,

hacs cant/doesnt put it into resources... (afaik) To put lovelace out of storage mode, add this to your configuration.yaml: lovelace: mode: storage

Thanks

smartypantsuk avatar Apr 10 '23 19:04 smartypantsuk

Ok, so, how do I (re)install this "theme"?

revolter avatar Apr 11 '23 05:04 revolter

Ok, so, how do I (re)install this "theme"?

I think that the new installer is broken, and doesn't automatically install all the required dependencies.

So, to fix it, you need to install them by following these steps:

  • Home Assistant:

    • HACS:

      • Integrations > + EXPLORE & DOWNLOAD REPOSITORIES (bottom right) > search "browser_mod" > browser_mod > ⬇️ DOWNLOAD (bottom right) > DOWNLOAD

      • Frontend:

        • (top right) > Custom repositories > set Repository to https://github.com/AnthonMS/my-cards > set Category to Lovelace > ADD

        • My Cards Bundle > ⬇️ DOWNLOAD (bottom right) > DOWNLOAD > CANCEL (source)

        • + EXPLORE & DOWNLOAD REPOSITORIES (bottom right) > search "button-card" > button-card > ⬇️ DOWNLOAD (bottom right) > DOWNLOAD > CANCEL

        • Repeat the last step by:

          • searching "lovelace-card-mod" and selecting card-mod
          • searching and selecting mini-graph-card
          • searching "mini-media-player" and selecting Mini Media Player
          • searching "light-entity-card" and selecting Light Entity Card
          • searching "lovelace-auto-entities" and selecting auto-entities > RELOAD (instead of CANCEL)
    • Developer Tools > RESTART (red) > RESTART

But, I think something is still missing 🤔

Why do you think something is missing?

smartypantsuk avatar Apr 11 '23 07:04 smartypantsuk

Ok, so, how do I (re)install this "theme"?

There doesn't seem to be a working process to install this following current guides. If you're using configuration via UI something seems broken to me. I've given up for now.

smartypantsuk avatar Apr 11 '23 07:04 smartypantsuk

Why do you think something is missing?

image image image

revolter avatar Apr 11 '23 07:04 revolter

Why do you think something is missing?

image image image

Maybe that's right? Have you tried configuring cards? You got far more than I did, mine won't load cards

smartypantsuk avatar Apr 11 '23 07:04 smartypantsuk

@revolter You will need also to set the theme in your user profile. Doing this automatically by the integration seems to be unreliable due to how HA processes theme selection in multiple places.

Note that you will need to repeat that process for each device/browser/app you use to display HA as the theme set in your user profile is saved in a cookie and not transferred between those. Screen Shot 2023-04-11 at 09 53 07

basbruss avatar Apr 11 '23 07:04 basbruss

The option for setting the minimalist theme is not available in the user profile settings. How can I get it? image

VoidWood avatar Dec 28 '23 05:12 VoidWood

To me something in the UI Minimalist Theme (or in its dependencies) is fundamentally broken. I've tried both installations (manual and through HACS) and the result is always a shitload of errors in my console

_getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2817 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2789 forEach@[native code] _getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2754 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2789 forEach@[native code] _getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2754 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2789 forEach@[native code] _getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2754 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2789 forEach@[native code] _getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2754 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2789 forEach@[native code] _getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2754 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2789 forEach@[native code] _getTemplateOrValue@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:437:2754 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:445:409 forEach@[native code] _buildCustomFields@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:445:299 _gridHtml@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:527:43 _cardHtml@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:489:32 render@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:429:19524 update@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:1:14824 performUpdate@http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:1:6151 @http://192.168.1.20:8123/ui_lovelace_minimalist/cards/button-card/button-card.js:1:5714

Unhandled Promise Rejection: TypeError: e.setConfig is not a function. (In 'e.setConfig({type:"error",error:_t.toString(),origConfig:this._config})', 'e.setConfig' is undefined)

Error: Failed to execute 'define' on 'CustomElementRegistry': the name "my-slider" has already been used with this registry

Error: Failed to execute 'define' on 'CustomElementRegistry': the name "auto-entities-editor" has already been used with this registry

Error: Failed to execute 'define' on 'CustomElementRegistry': the name "masonry-layout" has already been used with this registry

'Error: Failed to execute 'define' on 'CustomElementRegistry': the name "mini-graph-card" has already been used with this registry'

'Error: Failed to execute 'define' on 'CustomElementRegistry': the name "button-card-action-handler" has already been used with this registry'

Unhandled Promise Rejection: TypeError: The superclass is not a constructor.

Vahn84 avatar Jan 29 '24 16:01 Vahn84