Light Companion is a Home Assistant custom integration that lets you control entities in the light domain with natural-language commands interpreted by an LLM.
- Open HACS in Home Assistant.
- Go to HACS → 3-dot menu → Custom repositories.
- Add repository URL
https://github.com/Jerry0022/homeassistant-lightcompanionwith category Integration. - Search for Light Companion in HACS and install it.
- Restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration and add Light Companion.
- Light Companion is currently intended to be installed as a custom repository.
- It may not appear in HACS global/default search until accepted into the default catalog.
- Add the repository URL manually via Custom repositories and then search/install in HACS.
- HACS is only an installation channel for this custom integration.
- The runtime setup is always done via Home Assistant: Settings → Devices & Services → Add Integration → Light Companion.
- Copy
custom_components/lightcompanionto your HA config directory atconfig/custom_components/lightcompanion. - Restart Home Assistant.
- Open Settings → Devices & Services → Add Integration and add Light Companion.
- Home Assistant's built-in integration catalog lists integrations shipped with HA Core.
- Light Companion is a custom integration, so HA can only list it after you install its files (via HACS or manual copy).
- This repository can be added as a custom repository in HACS, but appearing in the global default HACS catalog requires separate HACS review/acceptance.
Supported providers (one active provider at a time):
openaianthropicgoogle
Required provider settings:
api_keymodel(switchable in the panel)base_url
For OpenAI, this integration is intended to work with your existing Home Assistant OpenAI integration setup (no separate external app server).
- Open HACS → Integrations → Light Companion.
- Click Update when a newer version is available.
- Restart Home Assistant after update.
- Open Settings → Add-ons → Add-on Store.
- Refresh repositories (3-dot menu → Check for updates).
- Open Light Companion App and install/update to the newest version.
- Open the Light Companion sidebar panel.
- Enter a command such as “Set living room lights to warm white at 40%”.
- The integration validates strict JSON action output before running light service calls.
- The integration only targets entities in the
lightdomain. - Keep API keys in config entry options; never hardcode secrets.