Skip to main content

Home Assistant

Connect Youkore to Home Assistant so your agents can:

  • Turn lights, plugs, thermostats on/off
  • Read sensors (temperature, presence, energy)
  • Run automations and scenes
  • Report the state of the house

Once connected, any agent that has the homeassistant tool in its toolset can drive the house. Many people make a dedicated "butler" agent with a friendly tone for this — but it's a regular agent file, not a special type.

Setup (~3 minutes)

1. Create a Long-Lived Access Token in HA

Open Home Assistant → click your profile (bottom left) → scroll to Long-Lived Access TokensCreate Token. Pick a name (e.g. "Youkore") and copy the token.

2. Find your HA URL

Typically http://homeassistant.local:8123 (LAN) or your Nabu Casa URL if you use that.

3. Paste into Youkore

Open Youkore → Settings → Integrations → Home Assistant → enter URL + token → Connect.

The badge shows your HA version and the location name.

What you can do

Any agent that has the homeassistant tool whitelisted can:

  • homeassistant(action="turn_on", entity_id="light.kitchen")
  • homeassistant(action="get_state", entity_id="sensor.living_room_temperature")
  • homeassistant(action="call_service", domain="scene", service="turn_on", target={"entity_id":"scene.movie_night"})

In natural language: "turn on the kitchen lights", "what's the bedroom temperature?", "activate the movie scene".

Security

The token stays on your PC. Calls go directly from Youkore to your HA — no Youkore cloud in the middle.

Troubleshooting

Connection failed: verify HA is reachable from the PC where Youkore runs (try ping homeassistant.local).

Token rejected: make sure you copied the entire token (they're long). Regenerate if needed.