# Home Assistant for Raycast

URL: https://www.raycast.com/tonka3000/homeassistant

> Control Home Assistant lights, switches, covers, climate, media players, scenes and scripts, chat with Assist, and show entities in the menu bar.

- Install: raycast://extensions/tonka3000/homeassistant
- Author: [Michael Aigner](https://www.raycast.com/tonka3000)
- Installs: 32,709
- Platforms: macOS, Windows
- Categories: Other, AI Extensions
- Updated: 2026-11-30
- Source: https://github.com/raycast/extensions/tree/420ab44096021557e7250bb70b8425dde49463bc/extensions/homeassistant/

## Commands

- **Vacuum Cleaners**: Query Vacuum Cleaners
- **Cameras**: Query Cameras
- **Scripts**: Query Scripts
- **Buttons**: Query Buttons
- **Scenes**: Query Scenes
- **Switches**: Get/Set states of Home Assistant Switches
- **Helpers**: Get/Set states of Home Assistant Helpers
- **Updates**: Get/Set states of Home Assistant Entity Updates
- **All Entities**: Get/Set states of Home Assistant entities
- **Entity Settings**: Manage hidden entities and custom display names
- **Custom Entities**: Get/Set states of Home Assistant custom entities
- **Covers**: Get/Set states of Home Assistant covers
- **Fans**: Get/Set states of Home Assistant fans
- **Lights**: Get/Set states of Home Assistant lights
- **Persons**: Get/Set states of Home Assistant persons
- **Sensors**: Get/Set states of Home Assistant sensors
- **Binary Sensors**: Get/Set states of Home Assistant binary sensors
- **Media Players**: Get/Set states of Home Assistant mediaplayers
- **Automations**: Home Assistant automations
- **Dashboard**: Open Home Assistant dashboard
- **Climate**: Get/Set states of Home Assistant climate entities
- **Toggle AC Menu in Menu Bar**: Control Home Assistant air conditioners from the menu bar
- **Toggle AC Menu**: Show or hide the air conditioner menu bar item
- **All Entities with Attributes**: Query Home Assistant entity attributes
- **Batteries**: Query Batteries
- **Motions**: Query Motion Sensors
- **Doors**: Get/Set states of Home Assistant Entity with device class door
- **Weather**: Get Weather states of Home Assistant Entity Weather
- **Windows**: Get/Set states of Home Assistant Entity with device class window
- **Notifications Menu**: Display persistent notifications, low batteries and updates in the menu bar
- **Zones**: Get states about zones
- **Weather Menu**: Display Weather entity in the menu bar
- **Assist**: Conversation with Home Assistant Assist
- **Media Player Menu**: Display media players in the menu bar
- **Lights Menu**: Display lights in the menu bar
- **Covers Menu**: Display covers in the menu bar
- **Batteries Menu**: Display batteries in the menu bar
- **Entities Menu**: Show given entities in the menu bar
- **Entity Menu 1**: Show a single entity directly in the menu bar
- **Services**: Interact with Home Assistant services
- **Run Service**: Run a service with support for quicklinks and deeplinks via context arguments
- **Calendar**: Query calendars
- **Calendar Menu**: Display calendar in the menu bar

## AI tools

- **Get Entities**: Get a list of all entity IDs and their friendly names from Home Assistant
- **Get Entity Attributes**: Get the full state and attributes for specific Home Assistant entities
- **Run Service**: Run a Home Assistant service

## README

<div align="center">
  <img
    src="https://github.com/raycast/extensions/blob/main/extensions/homeassistant/assets/home-assistant.png?raw=true"
    width="50"
  />

  <h1>
    Home Assistant
  </h1>

Manage your smart home with Raycast 🚀

  <p>
    <a href="https://www.raycast.com/tonka3000/homeassistant">
      <img src="https://img.shields.io/badge/Raycast-store-red.svg"
        alt="Find this extension on the Raycast store"
      />
    </a>
    <a
      href="https://github.com/raycast/extensions/blob/master/LICENSE"
    >
      <img
        src="https://img.shields.io/badge/license-MIT-blue.svg"
        alt="raycast-extensions is released under the MIT license."
      />
    </a>
    <img
      src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg"
      alt="PRs welcome!"
    />
    <a href="https://twitter.com/intent/follow?screen_name=tonka_2000">
      <img
        src="https://img.shields.io/twitter/follow/tonka_2000.svg?label=Follow%20@tonka_2000"
        alt="Follow @tonka_2000"
      />
    </a>
    <a href="https://open.vscode.dev/organization/repository">
      <img
        src="https://open.vscode.dev/badges/open-in-vscode.svg"
        alt="Open in Visual Studio Code"
      />
    </a>
  </p>
</div>

#### Features

- Manage all your Home Assistant entities
- Control your lights
- Control your media player
- Control your covers
- Show all entities
- Show all entities with attributes
- Explore history of sensors

and all in real time 🚀

#### Obtaining the Access Token for Home Assistant

- Go to your Home Assistant instance (e.g. `https://myhomeassistant:8123`)
- Click on your profile (next to notifications) in the left sidebar
- Scroll down to the `Long-Lived Access Tokens` section
- Create a token via `Create Token`
- Store the token in a secure location; Home Assistant won't show it again
- Open the Raycast preferences for Home Assistant or start a Home Assistant command
- Set your Home Assistant URL (e.g. `https://myhomeassistant:8123`)
- Set your access token from the previous step into the `API Token` field

Now you should be able to manage your Home Assistant instance with Raycast 🚀.

#### Home Network Detection

You can optionally define an internal URL for your local home network, which typically offers a faster connection.
The internal URL is used when your home network's Wi-Fi SSID is detected or when the internal URL is pingable (ping can be disabled in cases where it may be slow).
You can define one or multiple home network SSIDs.

##### Example

- Home Assistant URL: `https://1234321234331.ui.nabu.casa`
- Internal URL: `http://homeassistant.local:8123`
- Home Wi-Fi SSID: `MyWifi1`, `MyWifi2`

If the current Wi-Fi SSID is `MyWifi1` the internal URL will be used.
If the current Wi-Fi SSID is `AnotherNetwork` the Home Assistant URL will be used.

#### Requirements

The minimum required version of Home Assistant is `2024.04`.
