keesschollaart81 / vscode-home-assistant

Visual Studio Code Extension for Home Assistant. ⭐ if you think this is cool!
MIT License
548 stars 116 forks source link

Config reloads not working #2945

Open TheFes opened 10 months ago

TheFes commented 10 months ago

Please include the related YAML code:

just:
  any_yaml:
    - which
    - can be reloaded
    - from VSCode

Find my Home Assistant Configuration here: Link to Home Assistant Configuration

Extension runs in:

I'm running VS Code on:

I'm accessing my files:

I use the Visual Code Studio add-on to edit my files, and always used the config reload options from VSCode which from the command palette, like Home Assistant: Reload Automations

As of recently (I think since the /config > /homeassistant change) these don't work anymore. VSCode does report the command is performed, but the changed config isn't loaded in HA.

Steps to reproduce:

  1. Change some config, eg add a new automation, and make sure to save the changes
  2. Access the command palette and reload the related config (eg Home Assistant: Reload Automations)
  3. Check if the changes are applied in HA (eg, the new automation is added to Settings > Automations & Scenes)
  4. Go to developer tools > YAML and reload the related config there
  5. repeat step 3.

For me, the config isn't changed after the reload in VSCode, but it is changed if I reload in devtools.

leejoow commented 10 months ago

Same here

harphere commented 3 months ago

Me too