61 Commits

Author SHA1 Message Date
Franck Nijhof
cfa3128142
Enquote YAML occurances of alias strings (#16576) 2021-02-15 08:08:37 +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
Trygve Vea
98266ce57f Correct comment in script yaml. (#9437) 2019-05-12 00:39:40 +02:00
Bo
ca41a82015 Clarify conditional executing in script (#7782) 2018-12-30 14:40:40 +01:00
Rohan Kapoor
c43ac57f42 Demonstrate that complex templates can be used for script delays (#6224)
* Demonstrate that complex templates can be used for script delays

* Fix escaping

* Start comments with a capital letter
2018-09-08 15:56:44 +02:00
Hovo (Luke)
def92b9b39 Allow wait template to run the remainder of the script (#5954)
* Adding new proceed variable

* Fixing documentation langauage

* Updating documentation due to code changes

* Changing default to continue to execute after delay
2018-08-13 20:24:35 +02:00
Phil
ae7aaeb1ed trigger.entity_id should not be quoted (#5985) 2018-08-09 21:04:47 +02:00
Tim Clephas
4e39cba2ff Modify delay example to support decimals and large numbers (#5890)
* Modify delay example to support decimals and large numbers

* Forgot quotation marks
2018-07-26 11:34:13 +02:00
DubhAd
09e1c0cb0c Added format to two digits (#5398)
Formatted the digit for the delay to two digits, rather than a random one or two. There have been multiple reports of the example in the doc not working for 1 through 9, and it needing formatted to two digits.
2018-05-20 12:03:43 +02:00
Philip Rosenberg-Watt
b4c71a2f54 Fix incorrect syntax (#4995)
Without quotes the example would not work.
2018-03-23 18:29:38 +01:00
DubhAd
cdda3de320 Template corrections (#4990)
* Template corrections

Updated the templates to be standards compliant.

* Fixes ;)

* More changes to comply with standards
2018-03-22 17:12:05 -05:00
DubhAd
459f6a21a2 Tweaked automation (#4954)
Tweaked last automation - removed `-` for consistency with other examples
2018-03-19 12:13:04 +01:00
Alok Saboo
1aca7b08cf Misc fixes: e.g. -> e.g., and proper case for Home Assistant (#4942)
* e.g. to e.g., and proper case for Home Assistant

* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00
Maido Käära
d797d4dd48 Incorrect event name (#4540)
* Incorrect event name

event_light_state_changed is the correct event in the configuration example

* Put back typo fix
2018-02-09 22:09:32 +01:00
Ville Skyttä
b39bd81c6e Spelling fixes (#4532)
* Spelling fixes

* "It's" -> "its" fixes

* Fix capitalization of "Pi" in "Raspberry Pi"

"Pi", not "PI" or "pi".
2018-01-28 22:28:56 +01:00
Paulus Schoutsen
cc025a6a72 Merge branch 'current' into next 2018-01-26 00:49:00 -08:00
Mahasri Kalavala
3daa8c815d
Update scripts.markdown 2018-01-25 18:16:46 -05:00
Mahasri Kalavala
a468d83300
Update scripts.markdown 2018-01-25 16:22:15 -05:00
Mahasri Kalavala
7f22cf1683
Update scripts.markdown 2018-01-25 15:09:22 -05:00
Mahasri Kalavala
6901bdc5e9
Update scripts.markdown 2018-01-25 13:38:03 -05:00