Add Template selector (#22421)

This commit is contained in:
Franck Nijhof 2022-04-18 22:22:44 +02:00 committed by GitHub
parent 9f04669f37
commit dc09e959bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 0 deletions

View File

@ -931,6 +931,21 @@ target:
model: TRADFRI remote control
```
## Template selector
The template selector can be used to input a Jinja2 template. This is useful
for allowing more advanced user-input that use Jinja2 templates.
![Screenshot of an template selector](/images/blueprints/selector-template.png)
This selector does not have any other options; therefore, it only has its key.
```yaml
template:
```
The output of this selector is a template string.
## Text selector
The text selector can be used to input a text string. The value of the input will contain the selected text.

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB