I have updated HASS today to the latest version and vs code is complaining about my automations as shown below. All is good up to line 180 then the errors are shown and I can't find the automations in my dashboards although I can edit them in yaml but not using the visual editor.
I don't have any repairs and the configuration checker and log files have no errors.
I have Googled for many hours without success so I'm hoping someone here can point me in the right direction.
Thanks in advance.
The HA extension for VSC is constantly behind on updates, so it gives a lot of false warnings.
I believe the configuration key kelvin for light.turn_on (being used on line 174) was changed to color_temp_kelvin months ago... maybe that's the source.
Also make sure you restart HA or at least reload Automations from the YAML Dev Tool whenever you make changes to your config.
VSCode / Code Servas App you can do that within the program.
In case it might help others....
It was all down to the fact that I was using device_id's not entity_id's
It seems that the yaml checkers don't care much but VSCode did. The kelvin -> color_temp_kelvin wasn't picked up by them either.