mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-25 13:57:37 +00:00
Add condition selector for blueprint (#28184)
This commit is contained in:
parent
1c2168d6ce
commit
5b0c54b6eb
@ -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.
|
||||
|
||||

|
||||
|
||||
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
|
||||
|
BIN
source/images/blueprints/selector-condition.png
Normal file
BIN
source/images/blueprints/selector-condition.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
Loading…
x
Reference in New Issue
Block a user