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:
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:
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.