see what tom_I said.
I have this too. Quite scary lol
everything works and no errors on reloading or checking config.
Suppose there will be an update that fixes this bug
Yes the problem still persists as there was no patch released yet. There is nothing a user can solve, the schema is completely valid. This appears to be the issue of HA helper used in VSCode Addon.
I just downgraded the addon back to version 4.0.0 by changing the version in addons.json file and it reverted to working condition. turn off automatic updates if you do so.
Care to elaborate? I’ve edited /usr/share/hassio/addons.json. “4.1.0” appears two places in that file (under “user” and “system”). I’ve tried to replace them both with “4.0.0”, but still at version 4.1.0 after reboot.
I am not the official developer, so they should be able to provide more details and troubleshooting but this is what I did if I remember correctly:
turn off automatic updates for the vscode addon in HA interface
get docker image locally, so when the container start is requested it will be present. (on the host machine run docker pull ghcr.io/hassio-addons/vscode/amd64:4.0.0 for PC or ghcr.io/hassio-addons/vscode/arm64:4.0.0 for Pi)
edit file /usr/share/hassio/addons.json its owned by root, so you must run the editor with sudo f.e. sudo nano /usr/share/hassio/addons.json and change the line "version": "4.1.0", to "version": "4.0.0",. I actually did it only for the one under user section and that was enough, I am not sure where system is used, but feel free to change it in both places for consistency.
reboot the host machine. I did it not via the interface because the supervisor may correct the versions. I just run reboot command on my shot machine and next time it came back it was reading values from the json and used the pulled docker image to recreate old container.
Thank you. I was unable to make this work. Maybe because I rebooted through Supervisor - I don’t know.
However I found another way:
Did a partial backup, only backup of Studio Code Server 4.1.0.
Downloaded the backup
Edited backup.json and coder.json inside tar and tar.gz. Changed version from 4.1.0 to 4.0.0
(When using my default packer, restore failed. Had to use 7zip to edit the json-files)
Uninstalled Studio Code Server
(- Restart)
Uploaded edited backup
Restored edited backup
(- Restart)
Version 4.0.0 is back.
This issue seems to still persist. Has anyone tagged the Studio Code Server dev? @frenck edit: scratch that, it appears to have been resolved somehow. Perhaps I got an update?
Working with Visual Studio Code and like the fact that I get slapped on my fingers when my syntax is incorrect. I experienced the value_template error when I moved the entity from the mqtt.yaml file into my first packages. Needless to say this put me on the wrong foot.
HA-version: 2023.11.0 (installed in a Docker Container)