UI-Lovelace-Minimalist / UI

UI-Lovelace-Minimalist is a "theme" for HomeAssistant
https://ui-lovelace-minimalist.github.io/UI/
Other
1.63k stars 430 forks source link

Nothing works. No cards found. new install #1162

Open kmanan opened 1 year ago

kmanan commented 1 year ago

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

image

Sammy1Am commented 1 year ago

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

addelovein commented 1 year ago

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

revolter commented 1 year ago

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:

But, I think something is still missing 🤔

GameTec-live commented 1 year ago

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...

jorisvanr commented 1 year ago

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):

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?

basbruss commented 1 year ago

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

jorisvanr commented 1 year ago

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

GameTec-live commented 1 year ago

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...

smartypantsuk commented 1 year ago

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

GameTec-live commented 1 year ago

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

smartypantsuk commented 1 year ago

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 commented 1 year ago

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.

GameTec-live commented 1 year ago

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

smartypantsuk commented 1 year ago

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

revolter commented 1 year ago

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

smartypantsuk commented 1 year ago

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 commented 1 year ago

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.

revolter commented 1 year ago

Why do you think something is missing?

image image image
smartypantsuk commented 1 year ago

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

basbruss commented 1 year ago

@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
VoidWood commented 9 months ago

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

Vahn84 commented 8 months ago

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.