Skip to content

Troubleshooting

Kees Schollaart edited this page Mar 8, 2020 · 4 revisions

A couple of FAQ's

  1. How do I turn on the extension for my configuration files?

    Make sure the Language is set to 'Home Assistant' using the language picker:

    and/or pin it via a ./vscode/settings.json file in your Home Assistant configuration folder:

    {
        "files.associations": {
            "*.yaml": "home-assistant"
        }
    }

    The VS Code docs also explain how to set the 'Home Assistant' language as default for '.yaml' or for a workspace (via a settings file).

  2. How do I open files on my remote Home Assistant host?

    Read the answer here

  3. I get errors on my configuration but they're wrong

    Fix this schema or logic yourself (read more) or create an Issue in this repository

  4. ** Where do I find the logs? **

    In VS Code, go to View > Output. In the bottom of VS Code, in the Output Pane, select 'Home Assistant'.

    image

Clone this wiki locally