I am getting an error for saying unknown tag <!file> from using lovelace_gen in my yaml files. Is there anyway to suppress this error? The check config in setting validates properly, but not in vscode
Sorry if I missed it but is there a way to “undo” thru several configurations. Or set the number of historical changes to keep like you might have in notepad ++ and to be able to access those across restarts. I frequently need to back out of a number of changes to my config. Maybe its so obvious how to do this that nobody ever needed to ask the question?
You can setup git versioning in VS. You can back up to github or something similar if you choose. Git is just a system for keeping track of changes / versions of a file.
Alright I’ll look into it. I have a basic understanding of what git is. Would a scenario be possible wherein a config change I make brings down my connection to the internet and so I cannot back out of changes as VS would try to find previous changes stored on git? Thanks for your patience
I am, except mine pegs the CPU and will sometimes even lock up my NUC and I have to pull the power.
I’m getting the “Visual Studio Code is unable to watch for file changes in this large workspace” which according to the docs says it can’t be helped, but I wonder if this has something to do with the ridiculously high CPU usage? Unfortunately, I have to keep the add-on turned off as sometimes my Node-RED flows won’t even kick off with it running.
Hopefully, someone has a thought on how to fix this!
I’m not at home at the mo (so no access to my vsc (on my pc)) but from memory, I think I entered //192.168.xxx.xxx/config
(adjust to suit your HA instance ip address, you have set up samba I assume ? - I think vsc has another route in but I use Samba)
I’ll check when I get home
have tried with \192.168.xx.xx\config with no success. i am using samba and that is working great.
Fault i get from VSCode:
Error connecting to your Home Assistant Server at file:///\192.168.xx.xxx\config and token ‘…’, check your network or update your VS Code Settings, make sure to (also) check your workspace settings! Error: ERR_CANNOT_CONNECT
Hang on, are you running this from a pi or a NUC ? (arm or amd/Intel) ?
If it’s on the same machine as HA then the path may be different - but samba shouldn’t care (it should go out and come back in ??? - don’t know, I have no direct experience of that)