configuration.yaml #15
Replies: 3 comments 3 replies
-
The templates go into the yaml for your dashboard for me it's ui-lovelace.yaml for me it's in the ui subdirectory. |
Beta Was this translation helpful? Give feedback.
-
Sorry for taking a while to answer this. Life required me to make money to pay rent to have a roof to sleep under. 😥 If you are using UI mode for the Dashboard, Notice the indentation of the contents of This was how I operated until I switched over to YAML mode about a year ago, when the configuration ballooned to like 14,000+ lines. Obviously, it was not manageable, so I begrudgingly switched over... and thank goodness I did switch over, because otherwise I wouldn't be able to back up and share these codes onto GitHub here with all of you. So if you are using YAML mode for the Dashboard, in lovelace:
mode: yaml
resources: !include lovelace-resources.yaml
dashboards: !include lovelace-dashboards.yaml On the same folder as In ui-dashboard:
require_admin: false
show_in_sidebar: true
icon: mdi:gauge
title: Dashboard
filename: ui/ui-lovelace.yaml
mode: yaml
ui-machines:
... In - url: https://unpkg.com/[email protected]/min/moment.min.js
type: js
- url: /hacsfiles/lovelace-mushroom/mushroom.js?hacstag=44435037518022
type: module
- url: /local/metro.css?version=20220902
type: CSS
... And then finally, the dashboards are stored under title: Dashboard
views:
- !include views/summary.yaml
...
- !include views/astrometrics.yaml
decluttering_templates: !include templates/decluttering-card.yaml
button_card_templates: !include_dir_merge_named templates/button-card/
apexcharts_card_templates: !include templates/apexcharts-card.yaml Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Do you still have a Raw Configuration that you could share? |
Beta Was this translation helpful? Give feedback.
-
Hi Amazing!
Can you please share your configuration.yaml i am absolutely a beginner
where i must enter
decluttering_templates: !include cards/decluttering_templates.yaml
button_card_templates: !include cards/button_card_templates.yaml
apexcharts_card_templates: !include cards/apexcharts_card_templates.yaml
and where i must include:
lovelace-dashboards.yaml
lovelace-resources.yaml
sorry for that newbie question but yaml not easy
please share your configuration.yaml
Beta Was this translation helpful? Give feedback.
All reactions