Is there an integration or script that can sync "storage" Lovelace dashboards with some YAML files in my config dir? (Don't want to switch to YAML mode and lose the web UI editor features)

I want the best of both worlds - The UI can be really handy when setting up new cards, since many cards come with custom form fields and helpers that show you how they work and what the available options are. But sometimes it’s more convenient to edit the raw YAML as well. I don’t want to switch to Lovelace’s “yaml” mode instead of “storage” and lose all the web UI features. Has anyone written an integration or script that bridges the gap and can sync the storage lovelace views with a YAML file in my config dir?

Another advantage is that I could get them all tracked in my git repo (which I set up in the config folder), so I can easily roll back any changes. Plus the Watchman integration could scan the YAML and check for missing entities. I just still want to be able to use the web UI to edit my views as well.

1 Like