esphome / esphome/feature-requests

[Sprinkler] Add action to skip or mark valve as complete

Open
#3,175 0 comments 1 reaction 0 assignees View on GitHub
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**

I would like a new action to mark the current valve or specific valve as complete, so it will be skipped over entirely when using `next_valve`

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

I would like something like the existing protected method, obviously this will not compile:
```c++
id(yards).mark_valve_cycle_complete_(id(yards).running_valve().value());
id(yards).resume();
```

**Additional context**

Alternatively a `skip` action could be provided that behaves like `next_valve`, but marks the valve complete before moving to the next valve.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.