thomasloven / lovelace-layout-card

🔹 Get more control over the placement of lovelace cards.
MIT License
1.05k stars 125 forks source link

No options available in the GUI #241

Open MrSleeps opened 1 year ago

MrSleeps commented 1 year ago

My Home Assistant version: 2023.3.6

Layout-card version: 2.4.4

What I am doing: Trying to to access the GUI options

What I expected to happen: The gui options show and no console errors?

What happened instead: No options available and console errors are showing

Error messages from the browser console:

Uncaught (in promise) TypeError: this._config.cards is not iterable at Mt.setConfig (layout-card.js:13:443)

layout-card.js:13 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disconnect') at Mt._makeColumnLayout (layout-card.js:13:4088) at Mt._makeLayout (layout-card.js:13:4018) at Mt.updated (layout-card.js:13:1246)

Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disconnect') at Mt._makeColumnLayout (layout-card.js:13:4088) at Mt._makeLayout (layout-card.js:13:4018) at Mt.updated (layout-card.js:13:1285)

layout-card.js:13 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'disconnect') at Mt._makeColumnLayout (layout-card.js:13:4088) at Mt._makeLayout (layout-card.js:13:4018) at Mt.updated (layout-card.js:13:1446)


By putting an X in the boxes ([X]) below, I indicate that I:

jalejandro0211 commented 1 year ago

Same issue, did you solve?

MrSleeps commented 1 year ago

Nope

Taomyn commented 1 year ago

Installed this today on:

Home Assistant 2023.5.1 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.2 - latest

image

Have the exact same issue, change to the new view but after saving the new layout options box does not appear. I tried adding the values to the main yaml of the view but it didn't have any effect on it. Basically it's no different to the stock view.

jalejandro0211 commented 1 year ago

Installed this today on:

Home Assistant 2023.5.1 Supervisor 2023.04.1 Operating System 10.1 Frontend 20230503.2 - latest

image

Have the exact same issue, change to the new view but after saving the new layout options box does not appear. I tried adding the values to the main yaml of the view but it didn't have any effect on it. Basically it's no different to the stock view.

Same here...

2023-05-05 08:32:20.521 ERROR (MainThread) [frontend.js.latest.202305032] http://homeassistant:8123/hacsfiles/lovelace-layout-card/layout-card.js?hacstag=156434866244:13:3317 Uncaught TypeError: Cannot read properties of undefined (reading 'disconnect')

Tomadoggy commented 1 year ago

Same here, layout option not showing image

quadcom commented 1 year ago

Yup, I really would like to get grid working in the UI here. Way more flexible in layout potential

seerocode commented 11 months ago

I downgraded to version 2.4.2 in the meantime. I'm using Firefox.

bert269 commented 11 months ago

I have the same problem. I have it showing up in HACS: (honestly - I could not remember when I installed this through HACS). image

But nevermind - it does not seem to work: image As you can see, the option does not show up.

Then I followed the instructions (left it in HACS) and copied the RAW layout-card.js to the www directory and configure it as /local/layout-card, selected Javascript as the option and it is listed: image

I refreshed the browser page. I even restarted the browser. I still do not see the option when editing a dashboard.

Please help

bert269 commented 11 months ago

NEVERMIND - sorry. image