Closed andbad closed 2 years ago
Some screenshots:
I am also experiencing this problem with 2022.2.9
This is happening to me as well, with the same error as the first post:
2layout-card.js?hacstag=156434866231:194 Uncaught (in promise) TypeError: Cannot set properties of null (setting 'defaultValue')
at F.t.updated (layout-card.js?hacstag=156434866231:194:3001)
at F._$AE (styles.ts:368:1)
at F.performUpdate (styles.ts:368:1)
at F.scheduleUpdate (styles.ts:368:1)
at F._$EC (styles.ts:368:1)
t.updated @ layout-card.js?hacstag=156434866231:194
_$AE @ styles.ts:368
performUpdate @ styles.ts:368
scheduleUpdate @ styles.ts:368
_$EC @ styles.ts:368```
I also no longer see the same layout options as before. I have it installed through HACS.
My existing grid layout works, but I can't edit it through the gui or change to the grid on another panel.
I also no longer see the same layout options as before. I have it installed through HACS.
My existing grid layout works, but I can't edit it through the gui or change to the grid on another panel.
can confirm exactly that. only non-HACS install. no dropdown options for the lovelace tabs. existing layouts work fine. can only edit it via the raw editor.
did they rename the dropdown and options text field maybe?
I also no longer see the same layout options as before. I have it installed through HACS.
My existing grid layout works, but I can't edit it through the gui or change to the grid on another panel.
I can also see the same problem. Non-HACS install (Home Assistant 2022.2.9, Docker: true)
I am experiencing this problem as well with HACS install on 2022.3.0. It is still working with YAML configuration, but the UI options are missing.
I am also experiencing this problem with HA 2022.3.0
As a workaround, you can use the raw configuration editor from the menu in the top right corner. For each entry in views
, you can set the type
property, for example, type: custom:grid-layout
. Then, also define the layout
property and put all of the config options for your layout in there.
yep im not getting anything. Hopefully this will be updated. This should be a standard in HA anyway
Same here. LAYOUT-CARD 2.4.1 Home Assistant 2022.3.1
View types not showing anymore.
Same wise, I see this error:
layout-card.js?hacstag=156434866241:47 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelector') at St._setGridStyles (/hacsfiles/lovelace-layout-card/layout-card.js?hacstag=156434866241:47:3854) at St.setConfig
Same here. 2.4.1, no layout tab/options
Same (with HACS)
Same here... I have 3 HA instances, on 2 of them, which have layout-card installed for a while, it works as expected, but on my new instance, I have the same problem. I cannot figure out what is different between them...
--- Edit ---
Nevermind that! I've updated my Home HA instance, which was working, from 2022.2.x to 2022.3.3 and now it has the same issue
Same here. My console error message is a bit different though:
layout-card.js?hacstag=156434866241:47
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'querySelector')
at St._setGridStyles (layout-card.js?hacstag=156434866241:47:3854)
at St.setConfig (layout-card.js?hacstag=156434866241:47:3034)
Version is 2.4.1 Unfortunately line 47 contains a huge minified code chunk which is extremely hard to debug.
Solved for me with 2.4.2. Thank you.
By(t)e
Yepp, works beautifully again. Thanks @thomasloven !
Thanks @thomasloven :+1::+1:
All good now. Thank you! @thomasloven
My Home Assistant version: 2022.2.9
Layout-card version (FROM BROWSER CONSOLE): 2.4.0
What I am doing: I copied the js file (downloaded from RAW link) to /www folder, then I configure module in "Settings/Resource"
What I expected to happen: When I click on pencil icon in Lovelace to configure layout of the page, I should find custom Masonry, Horizontal, Vertical and Grid layout
What happened instead: I find only standard layout
Minimal steps to reproduce:
Error messages from the browser console:
By putting an X in the boxes ([X]) below, I indicate that I: