Home Assistant Community Add-on: Visual Studio Code

I am having the same problem.
@thorschtn Can you elaborate how you got it to work?

When trying to synchronize github from within VSCODE addon I get

I have created token using ssh-keygen and ssh-add and created the relevant token in github website.

ssh -T seems to work

ssh -vT also sees to work

Update:
I solved it by creating a key without a passphrase

scrolling in the home assistant mac app is not possible…

1 Like

Is there a trick configuring github for this addon? I set user name and email and add the remote repo for my files. When I am trying to push changes I’ll get a message box to allow access to github. A 2nd tab opens where I am able to grant access to the addon. But then github wants to redirect to the vs code instance and this ends in an error 404. I tried from local ip and using my duckdns domain but with no success.

Guys/Gals,

What am I missing here? I don’t see the “Visual Studio Code” when searching the addons page? I’ve watched a couple of youtube clips where the VSC is found and installed. I’m running the the ODROID N+ with HA OS.

Cheers!


Fresh install of Home Assistant on a brand new ODROID N2+, first add-on installed is vscode and I’m getting these vertical lines in every file I open! Very annoying to try and code with. :frowning:

Has anyone experienced these? They’re there in both light and dark themes and not present on the Get Started page, just every file I open.

Any help would be appreciated!

Thank you,
Feld

@drcoolzic and another post got me headed in the right direction as I started my HA journey on a RPi4 Ubuntu arm64 node.

Unfortunately was sitting getting errors - for anyone still struggling (I’m doing everything locally, not externally - yet), I had to adjust my Ubuntu firewall

Instead of:

ufw allow from <subnet>/<mask> to any port 8123

Using this cleared it right up:

ufw allow from any to any port 8123

As I’m using a manual supervisor install (thus docker), I believe the chatter was being cut off. I plan to dig a bit deeper to determine what is being called/used so I can lock down a bit tighter but hoping this helps others.

It’s now called Studio Code Server

1 Like

Today i updated Studio Code Server to 4.1.0. Now i get a bunch of errors… i have a folder “sensors” where i have yaml files and there my sensors. after update each template sensor shows an errors…
what’s the catch? I mean - what i must change in order to remove those errors? Is it related to VSC or is it just announcement for future HA update uncompatibility?

EDIT: going back to 4.0.0 and all errors are gone…

I shoud say that these sensors DO work, even with these errors. So, is it VSC’s fault?


1 Like

Same thing here.

2 Likes

I see no errors at all.

Hello. Same problem after update.

Same problem.

image

Yea same problem for me when I updated. Not an issue for now but definitely annoying

Yes same problem for me also. Seems to only affect sensors.yaml and binary_sensors.yaml ???
image

Yaml is already a pain … if on top of that we’re getting wrong indications … :frowning:

I’m using the VSCode a lot for my HA installation (Raspberry Pi 4, HomeAssistant OS) but one thing does not work, I can’t preview images in my www folder, anyone can help?

1 Like

Did you solve the “Property platform is not allowed” problem and if so - how?
For me it is the same … within the included sensor yaml files → the same error message :frowning:

Yes, by going back to version 4.0.0. There’s no official info about this “bug” yet - why it’s happening…
It would be nice to hear some word from developers…

You have it here

1 Like

How do you do that? Thanks!

@pepe59: thanks! I hope that authors will find the problem soon…

@oalbaf:Go to supervisor (if you have it) → backups and see if you have a partial backup of VS4.0.0. and restore VB code from that.
If you don’t have supervisor then… well, if you have HA and addons in docker then you can remove current version and install earlier one, if i remember correct. But i can’t tell you details doing that since i don’t have docker so i don’t know exact details.