2022.5: Finish up Template selector section

This commit is contained in:
Franck Nijhof 2022-05-03 17:48:19 +02:00
parent 30e8c5a06e
commit 7134c5e927
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -565,27 +565,21 @@ entity:
{% details "TODO" %} {% details "TODO" %}
- Revisit story ## Template selector
- Replace screenshot
- Make smaller item?
{% enddetails %} A new [selector] is added: The [Template selector].
A new [selector](/docs/blueprint/selectors/) has been added this release: This new selector can be used in, for example, Blueprints, scripts fields, or
The [Template selector]. in a (custom) integration. It provides a nice code editor with Jinja syntax
This new selector can be used in, for example, Blueprints to ask the user
for a template input; providing a nice code editor with Jinja syntax
highlighting and entity auto-completion. highlighting and entity auto-completion.
This release adds the template editor to the automation and script editors, We have deployed it in the automations and scripts editor too! So, you
in case of the template conditions and wait template action. now get this editor when editing your template conditions or wait for template
actions in the UI.
<img class="no-shadow" src='https://user-images.githubusercontent.com/195327/164308418-72ae7e08-1ebc-44c7-82ec-7d51a931e65b.png' alt='Screenshot showing the template selector'> <img class="no-shadow" src='/images/blog/2022-05/template-editor.png' alt='Screenshot showing the template editor'>
Selectors are not just available for Blueprints, but also for your script fields
and (custom) integration and dashboard card developers.
[selector]: /docs/blueprint/selectors/
[Template selector]: /docs/blueprint/selectors/#template-selector [Template selector]: /docs/blueprint/selectors/#template-selector
## Other noteworthy changes ## Other noteworthy changes