CChris
(Christoph)
January 22, 2022, 2:14pm
1
Hi there,
I haven’t checked my config file for a while now, since everything was working after the last updates…
But today, I just wanted to make some changes and VSCode showed me a couple of errors for nearly everything…
Within my configuration.yaml I am calling the file “sensors.yaml”
# Include seperate Sensors file
sensor: !include sensors.yaml
Does anyone know, why I am getting these errors now?
tom_l
January 22, 2022, 3:02pm
2
Ignore it. Your config is fine. It is an issue with the Home Assistant helper extension.
opened 06:46AM - 17 Jan 22 UTC
yaml
<!--
!! Read 1 & 2 first !!
1. Is it an YAML parsing error?
This … extension depends on another package to parse and validate
the raw YAML. If it's a generic YAML Parser error, please report it here:
https://github.com/JPinkney/yaml-ast-parser
In doubt? Read more:
https://github.com/keesschollaart81/vscode-home-assistant/wiki/Is-it-the-YAML-parser%3F
2. Is a HA scheme error?
Feel free to fix this yourself, it's quite easy, HowTo here:
https://github.com/keesschollaart81/vscode-home-assistant/wiki/HowTo:-Update-the-schema's
-->
![Screenshot_2022-01-17_00-22-53](https://user-images.githubusercontent.com/47349533/149720370-5123a9fa-ae65-4c16-88ed-adf0d83c5c9f.png)
I updated The home assistant community addon and after this repo loads, I have ~800 lines of code that it says is not fitting the schema, like the pictures attached. All this yaml was fine with the prior version of the addon. I have rebooted and restarted the addon. I will be re-instaling it next, but it appears to be a problem that I think is here (not sure). The 4.1.0 version of the addon looked to be mainly an update to this software to add templates highlighting (which works in every file, btw...)
Opening all the yaml files, it showed over 800 syntax problems. My system restarts without error and the config checker passes with no errors, and none of this was there before the addon update, I'm informing you in case it a missed issue. I run Home Assistant Supervised Debian bullseye all patched up to date.
Removing and re-installing the the code server addon did not help.
![Screenshot_2022-01-17_00-32-23](https://user-images.githubusercontent.com/47349533/149719177-28919b2e-aa5f-4f8c-8afd-ce99ac6983d5.png)
3 Likes