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

Customize the 4 default icons of covers #110

Open
alexio70 opened this issue Nov 11, 2021 · 0 comments
Open

Customize the 4 default icons of covers #110

alexio70 opened this issue Nov 11, 2021 · 0 comments

Comments

@alexio70
Copy link

Hi, when customizing the icons for the covers I get the message: The following attributes are customized from outside of customize.yaml Possibly via a domain, a glob or a different include. In customization there is an option for JSON templating, like:
{"icon":"if (state === 'open') return 'mdi:window-shutter-open'; if (state === 'closed') return 'mdi:window-shutter'; if (state === 'opening') return 'mdi:inbox-arrow-up'; if (state === 'closing') return 'mdi:inbox-arrow-down'; \n"}
But it does not seem to have any affect. With over 20 covers to configure I'd rather not fix this in the Lovelace with custom 'custom:config-template-card' or custom:button-card.

Running on core-2021.11.2; supervisor-2021.10.8;

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

1 participant