lovelace-layout-card icon indicating copy to clipboard operation
lovelace-layout-card copied to clipboard

No options available in the GUI

Open MrSleeps opened this issue 1 year ago • 9 comments

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:

  • [X] Understand that this is a channel for reporting bugs, not a support forum (https://community.home-assistant.io/).
  • [X] Have made sure I am using the latest version of the plugin.
  • [X] Have followed the troubleshooting steps of the "Common Problems" section of https://github.com/thomasloven/hass-config/wiki/Lovelace-Plugins.
  • [X] Understand that leaving one or more boxes unticked or failure to follow the template above may increase the time required to handle my bug-report, or cause it to be closed without further action.

MrSleeps avatar Mar 31 '23 15:03 MrSleeps

Same issue, did you solve?

jalejandro0211 avatar Apr 07 '23 19:04 jalejandro0211

Nope

MrSleeps avatar Apr 08 '23 10:04 MrSleeps

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.

Taomyn avatar May 05 '23 11:05 Taomyn

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

jalejandro0211 avatar May 05 '23 13:05 jalejandro0211

Same here, layout option not showing image

Tomadoggy avatar May 24 '23 15:05 Tomadoggy

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

quadcom avatar May 28 '23 03:05 quadcom

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

seerocode avatar Oct 07 '23 03:10 seerocode

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 avatar Oct 23 '23 12:10 bert269

NEVERMIND - sorry. image

bert269 avatar Oct 23 '23 12:10 bert269