File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -460,7 +460,21 @@ on_...:
460460
461461- **condition** (**Required**, [condition](#config-condition)): The condition to check.
462462
463- {{< anchor "lambda_condition" >}}
463+ # ## `component.is_idle` Condition
464+
465+ This condition checks if a given component is idle. A component is considered to be idle if it has completed
466+ setup, has not been marked as failed, and is not currently being called by the loop task. This is useful for
467+ synchronizing actions with the state of the component, for example, an e-paper display component that requires
468+ a significant amount of time to update the display panel.
469+
470+ ` ` ` yaml
471+ on_...:
472+ then:
473+ - if:
474+ condition:
475+ component.is_idle: some_component
476+ # ...
477+ ` ` `
464478
465479# ## `lambda` Condition
466480
You can’t perform that action at this time.
0 commit comments