Maybe this would help? https://community.home-assistant.io/t/community-hass-io-add-on-visual-studio-code/107863