I run HA in a Docker container, I edit my config files local (windows) in VS Code, push to GIT, Travis validates the config and a Python script pulls the new config and restarts the container:
You can install the redhat Yaml checker in Visual Studio Code. So if you have wrong indentations (tabs/spaces) or any other syntax it will show it, including completion. See the docs of that plugin for more: https://github.com/redhat-developer/vscode-yaml, but to get an idea:
I want to tray Visual Studio Code to config my Home Assistant. So I install the Home Assistant Config Helper Extension but how should I connect or open the files now?
Hi, iām new to github and vscode, and i would like to ask this question:
iām using vscode from windows 10 pc using smb to edit my ha (on a raspberry pi3b+) yaml files. Can i backup my configuration to a github repositories directly from vs code using this setup?
you should be able to do that with the github addon found in HACS I believe. I personally backup my stuff manually so I canāt help you with that. however I can make a suggestion: make absolutely sure you ignore secrets.yaml (also try to use secrets.yaml to hide all sensitive information like certain ip addresses, usernames and passwords).