Home Assistant

Home assistant software

Go to site
Explore
/
Apps
/
Home Assistant

Home Assistant API Integrations

Build and run workflows using the Home Assistant API. Use 1000s of open source triggers and actions across 500+ apps. Or write custom code to integrate any app or API in seconds.

return await require("@pipedreamhq/platform").axios(this, {
  url: `https://${auths.home_assistant.hostname}/api`,
  headers: {
    Authorization: `Bearer ${auths.home_assistant.token}`,
    "Content-Type": `application/json`,
  },
})

Authentication

Home Assistant uses API keys for authentication. When you connect your Home Assistant account, Pipedream securely stores the keys so you can easily authenticate to Home Assistant APIs in both code and no-code steps.

All API calls have to be accompanied by the header Authorization: Bearer ABCDEFGH, where ABCDEFGH is replaced by your token. You can obtain a token by going to your profile. For hostname, the default would be IP_ADDRESS:8123 but user-configured values such as home.family.network:8824 can also work.