Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension doesn't work, and logs don't provide any clue on why #3284

Open
2 of 7 tasks
felipecrs opened this issue Nov 8, 2024 · 3 comments
Open
2 of 7 tasks

Extension doesn't work, and logs don't provide any clue on why #3284

felipecrs opened this issue Nov 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@felipecrs
Copy link

felipecrs commented Nov 8, 2024

The extension simply does not work and there is no clue on why in the logs. Please see the video below:

Code_lRFciLHQIZ.mp4

I would deeply appreciate any help to figure this issue out. Because of it, I was not able to test this PR.

I have this in my .vscode/settings.json:

{
    "files.associations": {
        "*.yaml": "home-assistant",
    },
    "vscode-home-assistant.hostUrl": "https://myhassinstancecorrectaddresswithpropercertificate",
    "vscode-home-assistant.longLivedAccessToken": "absolutelycorrectlonglivedaccesstoken"
}

Extension runs in:

I'm running VS Code on:

  • Windows
  • Mac
  • Linux

I'm accessing my files:

  • From local disk
  • Via remote SSH
  • Smb
  • Other:
@felipecrs felipecrs added the bug Something isn't working label Nov 8, 2024
@dziban303
Copy link

dziban303 commented Dec 11, 2024

Hey @felipecrs, yeah it wasn't working for me either. I normally connect to the Home Assistant machine with the SSH FS extension, and like you none of the home assistant features were working.

So I mapped the remote machine as a drive in Explorer (using SSHFS-Win), and now when I open HAss config files from the S: drive or whatever, the extension works as you'd expect.

I don't know why it doesn't work with SSHing from withing VSCode but that does appear to be the issue.

@felipecrs
Copy link
Author

Using SSHFS-Win is a great idea. It even helps to offload the Home Assistant server. Thank you for the suggestion.

But I'll keep the issue open, as I think it was supposed to work.

@chemelli74
Copy link

Similar situation here, I tried both with UNC path and mapping a network disk.

I can get the entity competition work for a few seconds right after VS code windows reload and then nothing.

I suspect a conflict with some other extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants