Add config entry selector (#23836)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
Franck Nijhof 2022-08-26 10:50:23 +02:00 committed by GitHub
parent cef4a83178
commit 385f98c55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View File

@ -21,6 +21,7 @@ The following selectors are currently available:
- [Attribute selector](#attribute-selector)
- [Boolean selector](#boolean-selector)
- [Color temperature selector](#color-temperature-selector)
- [Config entry selector](#config-entry-selector)
- [Date selector](#date-selector)
- [Date & time selector](#date--time-selector)
- [Device selector](#device-selector)
@ -280,6 +281,27 @@ max_mireds:
The output of this selector is the number of mired selected, for example, `243`.
## Config entry selector
The config entry selector allows to user to select a configured integration
configuration entry. The selector returns the entry ID of the selected
integration configuration entry.
![Screenshot of the Configuration entry selector](/images/blueprints/selector-config-entry.png)
```yaml
config_entry:
```
{% configuration config_entry %}
integration:
description: Limits the list of selectable configuration entries to a single integration domain.
type: string
required: false
{% endconfiguration %}
The output of this selector is the entry ID of the config entry, for example, `6b68b250388cbe0d620c92dd3acc93ec`.
## Date selector
The date selector shows a date input that allows the user to specify a date.

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB