UI icon indicating copy to clipboard operation
UI copied to clipboard

New Installation the UI doesn't show as expected.

Open andylow opened this issue 11 months ago • 17 comments

Describe the bug UI doesn't show as expected on a brand-new installation.

To Reproduce Follow HACS installation guide.

Screenshots image

Related Logs (can be found in the browser-console (F12))

button-card.js?hacstag=146194325412:426  TypeError: e.trim is not a function
    at Ti._getTemplateOrValue (button-card.js?hacstag=146194325412:434:2813)
    at button-card.js?hacstag=146194325412:434:2770
    at Array.forEach (<anonymous>)
    at Ti._getTemplateOrValue (button-card.js?hacstag=146194325412:434:2747)
    at button-card.js?hacstag=146194325412:434:2770
    at Array.forEach (<anonymous>)
    at Ti._getTemplateOrValue (button-card.js?hacstag=146194325412:434:2747)
    at button-card.js?hacstag=146194325412:434:2770
    at Array.forEach (<anonymous>)
    at Ti._getTemplateOrValue (button-card.js?hacstag=146194325412:434:2747)

Related Card Config No changes on original sample yaml configuration.

andylow avatar Mar 02 '24 20:03 andylow

Captured console logs: image

andylow avatar Mar 02 '24 20:03 andylow

+1, got the same issue

piotrkpaul avatar Mar 06 '24 00:03 piotrkpaul

Try updating all libs to the latest versions...

Required Integration browser_mod by Thomas Lovén Required Lovelace Resources button-card by RomRider card-mod by Thomas Lovén mini-graph-card by Karl Kihlström Mini Media Player by Karl Kihlström My Cards Bundle by AnthonMS** Light Entity Card by Leonardo Merza auto-entities by Thomas Lovén

tv4you2016 avatar Mar 06 '24 19:03 tv4you2016

Turns out the above list is missing layout-card state-switch

As soon as these are installed via HACS it works. see also https://github.com/UI-Lovelace-Minimalist/UI/issues/1047

ipm79 avatar Mar 09 '24 15:03 ipm79

I have the same issue. Elements are showing, but they don't look right. I have added layout-card and state-switch. I have both tried manually installing all dependencies, and also used the checkbox for having Lovelace install them for me. image

alexkahler avatar Mar 09 '24 17:03 alexkahler

Same here. New install. Popup is even worse it is just text.

layout-card and state-switch already.

image

sombody88 avatar Mar 14 '24 08:03 sombody88

I have a similar problem as in the previous message. image

I've tried installing libraries automatically and manually. Has someone found a solution?

redb0 avatar Mar 14 '24 14:03 redb0

Same here. Installed manually all dependencies, including layout-card and state-switch mentioned here. Home Assistant Version: 2024.3.1

In the console I'm receiving the following errors, seems something related to button-card. I'm using v4.1.2

ButtonCardJSTemplateError: TypeError: Cannot read properties of undefined (reading 'ulm_show_last_changed') in 'if (typeof(entity) !== 'undefined' && entity !== undefined){
    let device_class = entity.attribu...'
    at ti.eval (eval at _evalTemplate (:8123/hacsfiles/button-card/button-card.js:425:9303), <anonymous>:10:18)
    at ti._evalTemplate (:8123/hacsfiles/button-card/button-card.js:425:9389)
    at ti._getTemplateOrValue (:8123/hacsfiles/button-card/button-card.js:425:9976)
    at :8123/hacsfiles/button-card/button-card.js:425:9869
    at Array.forEach (<anonymous>)
    at ti._getTemplateOrValue (:8123/hacsfiles/button-card/button-card.js:425:9846)
    at ti._objectEvalTemplate (:8123/hacsfiles/button-card/button-card.js:425:9685)
    at ti.render (:8123/hacsfiles/button-card/button-card.js:425:6853)
    at ti.update (:8123/hacsfiles/button-card/button-card.js:1:19873)
    at ti.performUpdate (:8123/hacsfiles/button-card/button-card.js:1:16761)
Uncaught (in promise) TypeError: e.setConfig is not a function
    at ti.render (button-card.js:425:7051)
    at ti.update (button-card.js:1:19873)
    at ti.performUpdate (button-card.js:1:16761)
    at ti._enqueueUpdate (button-card.js:1:16413)

pheliperocha avatar Mar 21 '24 23:03 pheliperocha

I have the exact same issue1

selfeky avatar Mar 24 '24 20:03 selfeky

I'm having the same issue!

gosoares avatar Apr 03 '24 15:04 gosoares

I have the same issue. Elements are showing, but they don't look right. I have added layout-card and state-switch. I have both tried manually installing all dependencies, and also used the checkbox for having Lovelace install them for me. image

For this weird looking quirk I found that you had to change the theme your user is set to one of the minimalist-* ones instead of having it on default as mine was before image

TrueTechy avatar Apr 04 '24 22:04 TrueTechy

Same here. everything is up2date.

deantomasevic avatar Apr 22 '24 14:04 deantomasevic

Same here, fresh install and everything up2date

Vipale avatar Apr 22 '24 14:04 Vipale

Yeah, same issue here. Looks even worse than yours.

sparvalarva avatar Apr 24 '24 07:04 sparvalarva