Hi
I’m new in HA…
I’m building a dashboard with picture-elements card.
I added the dashboard using the UI and edited is using the Raw config file or from the “edit” button.
The thing is it getting bigger quite fast and I’m trying to split it.
I saw some docs about how to split files but for some reason it doesn’t work for me and I’m getting:
The error:
YAMLException: unknown tag !<!include>
the different modes are used to determine how the dashboards are configured and where the files are stored.
in UI mode you configure the dashboards via the UI and only incidentally/rarely use yaml to configure them. Once they are configured the configuration is stored in the (hidden non-user editable) .storage folder in your config directory.
In yaml mode all of the dashboards are only configurable manually via yaml and the files are stored basically anywhere you want them to be in your config directory. You just need to point your config to the correct location.
you set which mode in your configuration.yaml. By default if nothing is specified you are in UI mode.
if you want to switch to yaml mode you enter this:
lovelace:
mode: yaml
There are other configuration options in yaml mode as well but that’s just the basic config.
I have no idea where that is documented tho. I just looked and can’t find it in the expected places. I just know because I have used yaml mode since “Lovelace” was created.
Hi finity and thanks for the help!
I kind of mange to split the files… BUT…
I built a picture element card with a LOT of elements…
I’m trying to split it but whatever I’m doing it’s not working.