mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
2022.5: Finish up Template selector section
This commit is contained in:
parent
30e8c5a06e
commit
7134c5e927
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user