I’m running HA on a VM on Unraid. I’m on Version 0.87.1 and it’s set for lovelace mode: yaml in configuration.yaml. Everything (so far) works just fine, but for the life of me, I can’t get - !include to work in the ui-lovelace.yaml.
The ui-lovelace.yaml us very basic:
views:
- !include lovelace/01home.yaml
For the 01home.yaml I’m using the default:
title: My Awesome Home
views:
# View tab title.
title: Example
cards:
# The markdown card will render markdown text.
type: markdown
title: Lovelace
content: >
Welcome to your Lovelace UI.
However, I’m just getting a blank page with “Home Assistant” as the title.
If I change it to config\lovelace\01home.yaml it defaults to (I’m guessing) the .storage/lovelace file.
I know that this is possible, I’ve seen it work. I know that there was an issue in an older build but they restore this feature so what am I missing?
make sure your files are in the correct location for your !include statements.
And make sure that the contents of your included yaml files all start to the far left margin. IOW, “title:” in the lovelace_main_view.yaml should be all the way left then your indentation is based on that margin per my example above.