79 Commits

Author SHA1 Message Date
Franck Nijhof
301a5fc754
Add ability to continue scripts/automations on error (#22390) 2022-04-14 13:44:04 -07:00
Franck Nijhof
88dd32b169
Add stop/error script/automation action (#22338) 2022-04-12 12:19:39 +02:00
Pavel Moukhataev
d41c8f5005
Fix choose link (#22186) 2022-03-29 18:40:26 +02:00
Pieter Rautenbach
e2ad20b99a
Document that variables can be templated (#22103)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-21 15:25:53 +01:00
akloeckner
076a69e6aa
Update scripts.markdown: Fix shorthand for templates in loops (#20254) 2021-11-11 08:52:26 +01:00
Michael Chisholm
ab6adc1db0
Document scope of script variables (#19240) 2021-10-11 15:29:08 +02:00
NotSomeBot
d8a022caa3
Fixed link with _ to - (#19646) 2021-10-07 15:55:23 +02:00
Chris Browet
21b47f7bf9
Add a TOC to the condition reference (#19156)
Co-authored-by: Joakim Sørensen <hi@ludeeus.dev>
2021-09-28 13:42:41 +02:00
Michael Chisholm
d0c972dcfb
Clarify that condition only stops current sequence (#19238) 2021-09-07 10:21:29 +02:00
Pedro Lamas
b620df780a
Fixes link in scripts.markdown and schema.markdown (#18826) 2021-08-08 15:49:27 +02:00
David Beitey
d0351ea6d9
Fix position of yaml list marker in Scripts docs (#17952) 2021-05-25 10:53:45 +02:00
Juri Calleri
259fb6f895
added another choose example (#16972)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-03-15 15:34:29 +01:00
Corban Mailloux
713ed48ad4
Fix a missing end quote. (#16883) 2021-03-07 08:40:27 +01:00
Erik Montnemery
2f6d2d9b88
Add alias to script syntax examples (#16695)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-22 20:46:56 +01:00
Franck Nijhof
14d360ef22
Merge branch 'current' into next 2021-02-15 13:29:02 +01:00
Franck Nijhof
81d0265f1b
Update some service calls to use target (#16586) 2021-02-15 13:27:38 +01:00
Franck Nijhof
a1d0b36e81
Update some service calls to use target (#16575) 2021-02-15 12:32:12 +01:00
Franck Nijhof
cfa3128142
Enquote YAML occurances of alias strings (#16576) 2021-02-15 08:08:37 +01:00
Erik Montnemery
fb46c03804
Document trigger templating (#16455)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-02-11 20:04:53 +01:00
Erik Montnemery
94aedbd415
Tweak "event" script action documentation (#16400) 2021-02-05 13:46:32 +01:00
Erik Montnemery
f6e5087557
Move comment about trigger variable to the top (#16397) 2021-02-05 10:15:00 +01:00
Erik Montnemery
1228606e87
Tweak wording about script level variables (#16399) 2021-02-03 16:17:37 +01:00
Franck Nijhof
03d8d34bf8
Bunch of YAML styling improvements - part 2 (#16379) 2021-02-01 22:46:37 +01:00
Franck Nijhof
7910d17c08
Bunch of YAML styling improvements (#16372) 2021-02-01 10:42:12 +01:00
jrel17
79773889e4
Slightly refine wording in variables description (#16188)
Refining the description of variables, e.g., link to scripts doc
2021-01-15 13:13:28 +01:00
Paul Dugas
8cb017557c
Update scripts.markdown (#15719)
link typo in the Wait Template section.
2020-11-22 19:28:09 +01:00
Dubh Ad
638e6092c6
Update scripts.markdown (#15639)
The wording here has caused confusion a few times, so making it clearer that the you have to use `false`
2020-11-14 21:36:58 +01:00
Franck Nijhof
d6693742a6
Fix variables in scripts example (#15253) 2020-10-15 19:46:50 +02:00
Klaas Schoute
bff91be75c
✏️ Move scripts and auth redirect to file (#14765) 2020-10-02 13:03:22 +02:00
tomlut
4087038e08
Updated markdown (#14673)
* Updated markdown

Fixed visible {% raw %} tag

* Update scripts.markdown
2020-10-01 09:05:23 +02:00
Paulus Schoutsen
4ec20e1b46
Document setting variables in script. (#14470) 2020-09-16 15:44:04 +02:00
Franck Nijhof
056cdf967a
Add shorthand notation for Template conditions (#14413) 2020-09-06 16:57:08 +02:00
J. Nick Koston
b908b87c7d
Update template entity docs for entity_id removal and guidance on working without entities (#14343)
Co-authored-by: Anders Melchiorsen <amelchio@nogoto.net>
Co-authored-by: Swamp-Ig <github@ninjateaparty.com>
2020-09-03 18:51:07 +02:00
Phil Bruckner
cc4e43ba81
Add wait_for_trigger script action (#14065) 2020-08-31 19:33:47 +02:00
Franck Nijhof
d705c3360d
Merge branch 'current' into next 2020-08-31 11:12:04 +02:00
Franck Nijhof
f5eeb86ab6
Templates in data & service parameters (making data_template & service_template obsolete) (#14292) 2020-08-24 17:50:53 +02:00
Phil Bruckner
a5d778cb40
Create variable with result of wait_template and accept template for timeout option (#14196) 2020-08-24 09:02:32 +02:00
Phil Bruckner
5164862068
Enhance script choose action description (#14287) 2020-08-24 08:17:30 +02:00
eracknaphobia
9815a06985
Update scripts.markdown (#14247)
VS Code give an incorrect type error that it expects a boolean using the example.
2020-08-15 11:23:34 +02:00
Phil Bruckner
1187058a22
Fix repeat & choose action descriptions (#14080)
* Fix repeat & choose action descriptions

* Change repeat & choose examples to complete scripts/automations to reduce confusion
2020-07-25 10:45:53 -06:00
Phil Bruckner
b5b555bd67
Add script choose action (#13994) 2020-07-14 19:23:49 +02:00
Phil Bruckner
5a4fa2b528
Document new repeat script action (#13934) 2020-07-10 11:43:51 -07:00
Cooper Dale
4e56f0946c
Must be integer (#12618)
better example with integer
2020-04-02 00:57:34 +02:00
akasma74
8dac0b232c continue_on_timeout clarification (#11723)
It was a bit unclear what happens if one omits continue_on_timeout (i.e what's its default value) so I decided to test it and fill the gap so others shouldn't do it again
2020-01-13 11:13:22 +01:00
Matthew Donoughe
b5b5d32b65 document scene action for scripts (#10616)
script support added in home-assistant/home-assistant#27223
2019-10-10 21:30:34 +02:00
Franck Nijhof
dcc7c10ce4
Rewrites all URLs in our website from components -> integrations 2019-10-02 00:35:28 +02:00
Franck Nijhof
1833c32a2c Cleans up front matter (#9835)
* Sets front matter defaults

* Removes default front matter from section templates/pages

* Removes default front matter from addon pages

* Removes default front matter from integration pages

* Removes default front matter from posts

* Removes default front matter from docs pages

* Removes default front matter from other pages

* Fixes blog category pages
2019-07-11 14:35:08 -07:00
Franck Nijhof
ebca3218c7
🔥Removes linkable_title everywhere (#9772)
* Automatically create linkable headers

* Visually improve position of linkable header chain icon

* Do not auto link  headers on homepage

* Remove linkable_title everywhere

* 🚑 Re-instante linkable_title plugin as NOOP
2019-07-04 19:08:27 +02:00
Franck Nijhof
337b210cce Rewrites states.xxx -> states('xxx') (and similar) (#9736)
* Rewrites states.xxx -> states('xxx') (and similar)

* Adds template escaping on some places
2019-06-30 11:45:03 -07:00
Franck Nijhof
1e46c4fcbe
Component(s) -> Integration(s) (#9656)
Signed-off-by: Franck Nijhof <frenck@addons.community>
2019-06-19 15:12:14 +02:00