Backing up yaml

Is there a way to actually get to the HA pages yaml which contains all my entities?
I know you can go to the raw editor and copy and paste but there has to be a better way as I’d like to source control them too not just my config files.

If you include the .storage/lovelace file it will be version controlled. It’s a file like any other.

Where can I find it using samba, where the rest of the files are?

image

It’s a hidden folder in there. If you’re using the samba add-on, I think you have to edit that configuration to show hidden files/folders

I’m not seeing a way to show hidden files: https://www.home-assistant.io/addons/samba/
What is the full \\hassio\... URL?

See this?

image

Do you have .*?

I don’t use Hassio, but it’s right there in the configuration directory .storage, so when you see your configuration yaml, just append .storage to the UNC Path

Sure did.
Removed it and I can see the lovelace file now.
That file contains all of my views right?

Yes. It is the entirety of what you see in the frontend that you have configured.