/coc-homeassistant

A coc.nvim extension for Home Assistant

Primary LanguageTypeScript

Coc-Homeassistant


Coc.nvim extension for Home Assistant Config Helper

Installation and Initialization

:CocInstall coc-homeassistant

The extension will start automatically for buffers with filetype home-assistant.

Configuration

Add the following settings to your coc-settings.json (:CocConfig):

  • homeassistant.enable: Enable the Home Assistant Extension. Defaults to true.
  • homeassistant.hostUrl: The Host URL of your Home Assistant instance. Only protocol, host, and port (no path or querystring). Defaults to http://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 to false

Credit

This package is merely a port of the great work done on vscode-home-assistant by keesschollaart81.