I use VS Code on my local machine and access my HA via SSH. Within VS Code I have installed “Home Assistant Config Helper” to have the ability to check code and insert entities.
Home Assistant itself does not have any problem nor does the VS Code add-on.
I do not know why the helper is referring to a http site (there is nothing there). I have already removed and reinstalled the HA Config Helper but no result. Any tips on further troubleshooting?
I am getting the identical message in the edit window of the Home Assistant Community Add-on: Studio Code Server, version 5.5.7.
This is the startup log of the code-server
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[12:08:21] INFO: Configuring timezone (America/New_York)…
Log level is set to INFO
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-user: starting
s6-rc: info: service init-mysql: starting
s6-rc: info: service init-mosquitto: starting
s6-rc: info: service init-code-server: starting
s6-rc: info: service init-mysql successfully started
s6-rc: info: service init-code-server successfully started
s6-rc: info: service init-user successfully started
s6-rc: info: service code-server: starting
s6-rc: info: service code-server successfully started
[12:08:23] INFO: Starting code-server…
s6-rc: info: service init-mosquitto successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
[2023-04-21T16:08:26.383Z] info Wrote default config file to ~/.config/code-server/config.yaml
[2023-04-21T16:08:28.205Z] info code-server 4.11.0 85e083580dec27ef19827ff42d3c9257d56ea7e3
[2023-04-21T16:08:28.208Z] info Using user-data-dir /data/vscode
[2023-04-21T16:08:28.289Z] info Using config file ~/.config/code-server/config.yaml
[2023-04-21T16:08:28.289Z] info HTTP server listening on http://0.0.0.0:1337/
[2023-04-21T16:08:28.290Z] info - Authentication is disabled
[2023-04-21T16:08:28.290Z] info - Not serving HTTPS
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Then, when an edit window is started, the log shows this:
[12:08:33]
[12:08:33] Extension host agent started.
[12:08:34] [172.30.32.2][9a00a88c][ManagementConnection] New connection established.
[12:08:35] [172.30.32.2][465c5cb6][ExtensionHostConnection] New connection established.
File not found: /usr/local/lib/code-server/lib/vscode/extensions/keesschollaart.vscode-home-assistant-1.35.1/jinja-language-configuration.json
I do not use add-on Home Assistant Config Helper
Home Assistant 2023.4.6
Supervisor 2023.04.0
Operating System 10.0
Frontend 20230411.1 - latest
Under the button “Uinstall” there is an option to install an other version if you are running VSCode on your computer. For the VSCode addon one has to downgrade the addon.
Hm… there is no “uninstall” option for Home Assistant Config Helper extension under extensions in studio code server inside HA, that’s why i asked…
but, i managed to “go back” with downgrading whole Studio code server, though…
Well, when you updated studio code HA probably made a backup (depends on your installation, though…). Check under system - backup if you have a backup and restore. If not….you’re stuck, i guess…
Same error here, what is the actual reason for this, is there one guru who can solve this the proper way. Think it deserves attention of the developers.
And is there a problem when this is in your templates sensors? Or does it all function and can be edited only that ugly error is there? Or does it have repercussions?
I think it says itself, it is looking for all entities script in http://schemas.home-assistant.io/configuration but when you do a search for this internet folder, there is none. So I guess that is what triggers this error, visual studio is looking at the wrong place, guess that should be fixable.
Just “downgraded” to 5.5.6 and the error message is not present.
So it would appear that the problem is related to the 5.5.7 release of the VS Code Server add-on
No idea how-to downgrade, and it seems to me the best solution is solving the reason why this occurs. Before you make a new version public. Guess the developers know what they changed and then know where the fault lies.