diff --git a/source/_docs/blueprint/selectors.markdown b/source/_docs/blueprint/selectors.markdown index 8a31a5a38d9..8a79f3bad3e 100644 --- a/source/_docs/blueprint/selectors.markdown +++ b/source/_docs/blueprint/selectors.markdown @@ -24,6 +24,7 @@ The following selectors are currently available: - [Backup location selector](#backup-location-selector) - [Boolean selector](#boolean-selector) - [Color temperature selector](#color-temperature-selector) +- [Condition selector](#condition-selector) - [Config entry selector](#config-entry-selector) - [Constant selector](#constant-selector) - [Conversation agent selector](#conversation-agent-selector) @@ -327,6 +328,29 @@ max_mireds: The output of this selector is the number of mired selected, for example, `243`. +## Condition selector + +The condition selector allows the user to input one or more conditions. +On the user interface, the condition part of the automation editor will be shown. +The value of the input will contain a list of conditions. + +![Screenshot of an condition selector](/images/blueprints/selector-condition.png) + +This selector does not have any other options; therefore, it only has its key. + +```yaml +condition: +``` + +The output of this selector is a list of conditions. For example: + +```yaml +# Example Condition selector output result +- condition: numeric_state + entity_id: "sensor.outside_temperature" + below: 20 +``` + ## Config entry selector The config entry selector allows the user to select an integration diff --git a/source/images/blueprints/selector-condition.png b/source/images/blueprints/selector-condition.png new file mode 100644 index 00000000000..577f3b6ee8b Binary files /dev/null and b/source/images/blueprints/selector-condition.png differ