# Script

> A named sequence of actions that can run from an automation, a dashboard, or by voice.

Source: https://contributors.home-assistant.io/glossary/script/

- In code: `script`, `scripts.yaml`
- Also: scripts, sequence

A script is reusable: one script can be used by many automations. It can take fields, like the room to clean, and has its own entity.

## Related terms

- [Action](https://contributors.home-assistant.io/glossary/action/): Something Home Assistant can do, like turning on a light or sending a notification. Automations, scripts, and dashboards perform actions.
- [Automation](https://contributors.home-assistant.io/glossary/automation/): A rule that performs actions when a trigger happens and its conditions are met, like turning on the lights at sunset when someone is home.
- [Scene](https://contributors.home-assistant.io/glossary/scene/): A saved set of states for entities, like dimmed lights and closed blinds for watching a movie, that can be activated in one go.
