Home Assistant icon

CONNECT APP

Build with Home Assistant

Home assistant software

Smart Home Automation

  • API key

MCP

Give your agent Home Assistant tools

Every Home Assistant action is exposed as an MCP tool on Pipedream's remote server. Point a client at it with your end user's ID and Connect resolves that user's Home Assistant account for each tool call — you store no tokens.

// accessToken: mint a short-lived token with the Connect SDK — see the MCP guide
const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": "{project_id}",
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "home_assistant",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()
// Every tool arrives with its own input schema — run one with mcp.callTool().

API PROXY

Call the Home Assistant API directly

For an endpoint with no pre-built tool, the Connect proxy forwards your request to the Home Assistant API with the connected user's credentials attached. You store no tokens and write no refresh logic.

const resp = await pd.proxy.get({
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  accountId: "apn_xxxxxxx",
  url: "https://api.example.com/v1/me",
})

// Any allowed Home Assistant endpoint works here. Pipedream attaches the
// connected account's credentials to the outgoing request.

SDK

Run Home Assistant actions from your backend

Connect a user's Home Assistant account once, then discover and run its tools on their behalf from your own code — TypeScript, Python, or plain HTTP.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const tools = await pd.components.list({
  app: "home_assistant",
  componentType: "action",
})

TOOLS

Home Assistant actions

On-demand operations your product or agent can configure and run on behalf of a connected user.

No Home Assistant actions are available yet.

EVENTS

Home Assistant triggers

Event sources your backend can deploy for users and receive through a webhook.

No Home Assistant triggers are available yet.

MULTI-APP

Use Home Assistant with other popular apps

Most products don't stop at one integration. Pair Home Assistant with the other apps your users rely on, and ship use cases that span both.

Google Drive icon Google Drive Google Drive is a file storage and synchronization service which allows you to create and share your work online, and access your documents from anywhere. Puppeteer icon Puppeteer Puppeteer is a Node.js library which provides a high-level API to control Chrome/Chromium over the DevTools Protocol. Google Gemini icon Google Gemini Google Gemini is a multimodal AI by DeepMind that processes text, audio, images, and more. Playwright icon Playwright Playwright enables reliable end-to-end testing for modern web apps. API.Bible icon API.Bible With nearly 2500 Bible versions available across over 1600 languages, API.Bible offers the largest collection of Bibles available. Mistral AI icon Mistral AI The most powerful AI platform for enterprises. Customize, fine-tune, and deploy AI assistants, autonomous agents, and multimodal AI with open models. pCloud icon pCloud Secure encrypted cloud storage Microsoft Power BI icon Microsoft Power BI Visualize any data and integrate the visuals into the apps you use every day with Power BI, a unified platform for self-service and business intelligence. Jira icon Jira Jira is the #1 agile project management tool used by teams to plan, track, release, and support great software with confidence DPD icon DPD DPD is an all-in-one shopping cart and digital fulfillment service to sell downloads. Serving thousands of stores, DPD processes and delivers millions worth of downloads each year. n8n.io icon n8n.io The workflow automation platform that doesn't box you in, that you never outgrow. Zoom icon Zoom Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars.

REFERENCE

App details

Reference metadata for the Home Assistant connector in the Pipedream registry.

App slug
home_assistant
Authentication
API key
Categories
Smart Home Automation
Actions
0
Triggers
0
API proxy
Available