Script
automation
script Create reusable automation sequences
Official Documentation
📚 ESPHome Documentation →Overview
Scripts are reusable automation sequences that can be called from various triggers throughout your ESPHome configuration. They help organize complex logic and avoid code duplication.