Installation¶
HACS (Recommended)¶
- Open HACS in Home Assistant
- Go to "Integrations" section
- Click the three dots menu > "Custom repositories"
- Add
https://github.com/stephengolub/ha-opencodeas "Integration" - Search for "OpenCode" and install
- Restart Home Assistant
Manual Installation¶
-
Download the latest release
-
Extract
custom_components/opencodeto your Home Assistant config: -
Copy the Lovelace card:
-
Restart Home Assistant
Install the OpenCode Plugin¶
The integration requires the companion plugin installed in OpenCode.
See opencode-homeassistant for plugin installation instructions.
Verify Installation¶
After restarting:
- Go to Settings > Devices & Services
- Click "Add Integration"
- Search for "OpenCode"
If it appears, installation was successful!