Back to the overview

Scripts in Home Assistant

script part of Home Assistant since 0.7

Quality: Internal

The Scripts integration allows users to automate tasks within Home Assistant by defining sequences of actions. It is commonly used to control smart home devices, trigger scenes, and manage daily routines through predefined triggers and conditions.

Typical uses

  • Control smart home devices
  • Trigger scenes and routines
  • Respond to automation events
  • Execute complex action sequences

Facts about this integration

Compatible with Home Assistant
yes, official integration
Setup
in configuration.yaml
Kind
Part of Home Assistant itself
Quality scale
Internal – Part of Home Assistant itself, not rated separately.
Installations
561,792 (78.2 % of the installations that share statistics)
Categories
Automation
Maintained by
@home-assistant/core

Setup

  1. Nothing to install: this is part of Home Assistant and available as soon as it is running.

Blueprints that use this integration

  • Automation Sensor Light – Switches lights based on sensor inputs, schedules, and user-defined switches. Requires binary sensors, lights, and input booleans. ♥ 1,709 · Import · Forum
  • Automation NSPanel Configuration – Configures NSPanel devices with ESPhome, using weather and sensor data to trigger light notifications and controls. ♥ 626 · Import · Forum
  • Automation Bathroom Humidity Exhaust Fan – Activates bathroom exhaust fan based on humidity sensor readings and user-defined switches. ♥ 391 · Import · Forum
  • Automation Smart Light – Automates lights using sensors, switches, and scenes, with input booleans for manual control. ♥ 215 · Import · Forum
  • Automation Ikea_bilresa_scroll_wheel – Controls lights, media players, and input selects via an Ikea Bilresa scroll wheel using Matter integration. ♥ 126 · Import · Forum
  • Automation Sensor Light Add On – Controls lights and scenes via switches and sensors. Requires light, switch, and scene entities. ♥ 96 · Import · Forum

All blueprints for it

Known issues and fixes

3 open issues and 6 bug fixes in the last twelve months are recorded for Scripts in the Home Assistant issue tracker. If something does not work, update first: the most recent fix shipped with Home Assistant 2026.5.0.

Open

  • open Renaming a script's entity ID does not work as expected. since April 10, 2024 · 22 reactions · 47 comments · #115334
  • open Using the 'stop' action with 'error' set to true does not halt the parent script's execution. since November 17, 2023 · 10 reactions · 36 comments · #104130
  • open A blocking call in a script's field schema causes unexpected behavior. since July 16, 2025 · 0 reactions · 5 comments · #148859

Fixed

  • fixed in 2026.5.0 A race condition during script unloading caused inconsistent behavior. Fix #169562

Source: the issue tracker of Home Assistant, as of November 1, 2026. The sentences are written by a language model from the titles of the issues; the reports themselves are on GitHub.

Check a specific device for known problems in the product check →

Source of this entry: the official documentation of the integration
The description was written by a language model from the facts listed here, not taken from the documentation.

Scroll to Top