-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Use templates across Dashboards #43
Comments
Very similar to this issue, I use multiple dashboards using the method described in Dashboards under the section Adding more dashboards with YAML. With this method, I don't have a lovelace-ui.yaml file. My resources are referenced in configuration.yaml and dashboards included from separate yaml files. I have tried adding decluttering_templates in the lovelace section under resources and that causes the error: Invalid config for [lovelace]: [decluttering_templates] is an invalid option for [lovelace] Adding a ui-lovelace file with just decluttering_templates results in the dashboard that includes the templates warning: Cannot read properties of undefined (reading "test_template"). Suggestions on how to use the awesome card with this configuration? |
I think I figured it out, you have to add the decluttering_templates in each yaml dashboard.
|
Is there some solution working nowadays for current version of homeassistant? I want to re-use template across various dashboards |
Available only for yaml-dashboards. |
Have decluttering cards set up and working across single dashboards, but using it on different dashboards results in an error:
"undefined is not an object (evaluating 't.config.decluttering_templates[e.template]’)”
The use case is tablets with different dashboards in different rooms, so I would want to use, for example, my 'House Status’ card across each room.
Is this possible? I’m using the Lovelace GUI and pasting the template YAML in the default dashboard’s Raw Configuration editor.
The text was updated successfully, but these errors were encountered: