esphome / esphome/feature-requests

Enable / Disable script function

Open
#2,075 2 comments 0 reactions 0 assignees View on GitHub
component: script
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**
Would it be possible to add a function to the script to enable/disable?

something like:
```
script.enable
script.disable
```

How is it possible in the home assistant with automations and scripts.

It would help especially when filtering the execution of various scripts

**Please describe your use case for this integration and alternatives you've tried:**

**Additional context**

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue names no files, tests, or entry points; start by locating the script execution and filtering code in the ESPHome repository. Define how enable and disable should affect script execution, then add coverage for the intended behavior before implementation.

Written by the indexing model from the issue text.

Assessment

Domain
embedded-iot
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.