mirror of
https://github.com/home-assistant/core.git
synced 2026-08-24 10:13:52 -05:00
05eeb6a1bc
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
41 lines
903 B
YAML
41 lines
903 B
YAML
.condition_common: &condition_common
|
|
target: &condition_todo_target
|
|
entity:
|
|
domain: todo
|
|
fields:
|
|
behavior: &condition_behavior
|
|
required: true
|
|
default: any
|
|
selector:
|
|
automation_behavior:
|
|
mode: condition
|
|
for: &condition_for
|
|
required: true
|
|
default: 00:00:00
|
|
selector:
|
|
duration:
|
|
|
|
.incomplete_threshold_entity: &incomplete_threshold_entity
|
|
- domain: input_number
|
|
- domain: number
|
|
- domain: sensor
|
|
|
|
.incomplete_threshold_number: &incomplete_threshold_number
|
|
min: 0
|
|
mode: box
|
|
|
|
all_completed: *condition_common
|
|
|
|
incomplete:
|
|
target: *condition_todo_target
|
|
fields:
|
|
behavior: *condition_behavior
|
|
for: *condition_for
|
|
threshold:
|
|
required: true
|
|
selector:
|
|
numeric_threshold:
|
|
entity: *incomplete_threshold_entity
|
|
mode: is
|
|
number: *incomplete_threshold_number
|