Skip to content
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

Layout: option causes conflicts with other custom cards. #118

Closed
Aura-Mancer opened this issue Mar 15, 2021 · 6 comments
Closed

Layout: option causes conflicts with other custom cards. #118

Aura-Mancer opened this issue Mar 15, 2021 · 6 comments

Comments

@Aura-Mancer
Copy link

I want to define a gird_area, inside of the layout option, but the card I'm doing that in has an option that it's also called layout. So, I can use the options of layout-card, or the one of the custom card I'm using. Is there a way to fix this?

@scooper1
Copy link

the layout keyword wipes out the button card
can you change the option name or have a second option name that is less likely to be used via other cards please

@thomasloven
Copy link
Owner

thomasloven commented Mar 17, 2021

The layout key is reserved for this use from Home Assistants side. But me, RomRider and the frontend team are in discussions about how to solve this.
The custom button card was using it before it got reserved, after all.

Thanks for raising this.

@scooper1
Copy link

Appreciate that problem is overall issue with layout key but was not causing problems untill use in version 2.0 please fix issue in this card and don't try to force every else to change because you made a decision to use that key without expecting problems. In reality I personally think it would been better to end support for old layout card and start a new layout card with new name it would have not broken a lot of systems doing it that way

@thomasloven
Copy link
Owner

thomasloven commented Mar 18, 2021

As I said, this is how Home Assistant has specified this parameter SHOULD be used.
But as I also said, we are discussing how to solve this, and it will be changed, because as I also said, button card was using this parameter first.

Please let me know where I forced you to click the upgrade button, and I will immediately remove that.

@thomasloven
Copy link
Owner

The card option layout has been renamed view_layout after discussions with RomRider and Zack who is developing the drag-and-drop layout.

Apologies for the inconvenience.

@scooper1
Copy link

scooper1 commented Mar 18, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants