-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Options from graphical card editor not properly stored in the final YAML #134
Comments
Make sure to completely clear your browser cache. See instructions near the bottom of the install guide linked from the readme. |
I don't think this is a caching issue. What may be missing in the OP's report is that this is not happening for view layouts (which work fine), but for layout-cards. Data entered into the field Layout options is stored in yaml under the key Example: Generated YAML code:
Corrected YAML code (working):
|
I just discovered that the following YAML code works too:
So to get it all working you have to use EITHER I also discovered, that the above code can be simplified (while still working) to this:
But I have a feeling, that the additional If I get this right, |
And one more finding: The combination of
To get there from a freshly generated Layout-Card you only have to replace the |
|
Whoops, nope these settings keep getting wiped out when I save. It's inconsistent. Sometimes they do sometimes they don't. We gotta get this fixed, before I'm gonna move forward with all my dashboard rewrites, it's consuming a lot of time fighting with it. |
Strange. Seems stable for me if I follow the last code example. |
My Home Assistant version: 2021.3.4
Layout-card version (FROM BROWSER CONSOLE): 2.2.3
The Layout Options box content is stored in a YAML field called "layout_options", and has no effect. When edited on the YAML editor and copied those options under the "layout" field, the options work fine.
The text was updated successfully, but these errors were encountered: