:CocInstall coc-homeassistant
The extension will start automatically for buffers with filetype home-assistant
.
Add the following settings to your coc-settings.json (:CocConfig
):
homeassistant.enable
: Enable the Home Assistant Extension. Defaults totrue
.homeassistant.hostUrl
: The Host URL of your Home Assistant instance. Only protocol, host, and port (no path or querystring). Defaults tohttp://hassio.local
homeassistant.longLivedAccessToken
: The Long Lived Access-Token for Home Assistant. Obtain a token via your user profile page in Home Assitant.homeassistant.ignoreCertificates
: Enable insecure transport. Check this if you want to connect over an insecure HTTPS transport with an invalid certificate. Defaults tofalse
This package is merely a port of the great work done on vscode-home-assistant by keesschollaart81.