I’m also struggling with this. I’ve never used VSCode before, so I’m probably missing something simple!
Ive installed Home Assistant Extension to VSCode, (on my mac), added host url (https://192.xxx.xxx.xxx:8123), and Long Lived Access Token to User Settings. I’ve then unchecked ‘Ignore Certificates’, disabled and re-enabled the extension.
Where should I be seeing my Home Assistant files so I can edit them?
As an alternative to this I’ve used a sftp extension is vscode to replicate the files on the RPi on OSX and edit them there. The extension takes care of syncing the changes back to the RPi.
Also means I have another backup of the files…
Thanks @xbmcnut I just watched your Youtube and it was perfect.
I did have trouble with the extention at first none of the auto entity_id where coming up.
Found the problem with that on is because i had a spell checker extenion installed, took that out and all works.
The other thing i can get working is when you select “- service: script.all_lights_on” and right click the mouse ‘Go to definition’ it does not find the script which is in the same file… And says “No definition found for service”.
I don’t understand it very well, the version that I have of vscode in hassio is 2.3.0. And the version of Home Assistant Config Helper on my Vscode is 1.7.2. You need to have the Vscode addons in hassio too?