mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
add raw to the delay template (#11456)
* add raw to the delay template add raw to the delay template. might need something extra: right now, when visiting this page, no value is displayed for the delay, which wouldn't be correct, since it could suggest it to be valid syntax to do so. Not sure how to change that in the html of this page, so ask for suggestion on behalf of the team. please see https://community.home-assistant.io/t/confused-about-script-field-template-in-docs/155023/7?u=mariusthvdb for more info here * ✏️ Tweak Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
parent
91abc97182
commit
02908a82d6
@ -65,6 +65,8 @@ sequence:
|
||||
|
||||
### Full Configuration
|
||||
|
||||
{% raw %}
|
||||
|
||||
```yaml
|
||||
script:
|
||||
wakeup:
|
||||
@ -96,6 +98,8 @@ script:
|
||||
entity_id: group.living_room
|
||||
```
|
||||
|
||||
{% endraw %}
|
||||
|
||||
### Passing variables to scripts
|
||||
|
||||
As part of the service, variables can be passed along to a script so they become available within templates in that script.
|
||||
|
Loading…
x
Reference in New Issue
Block a user