Lovelace_gen is a very powerful custom component by Thomas Loven. To find out what it does and how it does it I suggest you read his Github.
Some of my lovelace yaml files have the first line as:
# lovelace_gen
Do not remove this as it is need by this custom component.
Yes, I have probably not made it clear how my folder structure is…
In my config I have a lovelace
folder.
Inside that I have two sub-folders:
includes
which contains some lovelace yaml files that I use throughout my config and,garden_includes
which contains some lovelace yaml files that I wrote just for this package
You can move all the files into one folder but you will have to edit all references to them to point to the right place.
My ui-lovlace.yaml
has the following:
views:
- !include lovelace/view_garden_v2.yaml
I hope that helps with those questions. I will try to remember to update the readme on Github to be clearer.
What exactly does this mean?