38 Commits

Author SHA1 Message Date
Jamie Weston
32e20dfaaa
Add reference to context in automation templating (#19043)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-09-04 16:00:23 -07:00
Pedro Lamas
fe6805d9e0
Fixes missing forward slash prefix on url (#18785) 2021-08-06 01:19:22 +02:00
Franck Nijhof
c5e83224bc
Merge branch 'current' into next 2021-07-28 13:42:27 +02:00
Richard T. Schaefer
29f6cba2a6
Add this variable for use by automation and script templates (#18505) 2021-07-28 09:10:13 +02:00
Raman Gupta
e784059e83
Add documentation on new template functions for devices (#18540)
* Add documentation on new template functions for devices

* fix examples

* Update docs

* rename function

* rename back

* Rename template function back
2021-07-28 08:45:01 +02:00
Oxan van Leeuwen
5489f1cf2f
Fix a bunch of typos (#18579) 2021-07-23 00:07:27 +02:00
David Beitey
e4dade1b29
Document automation trigger ID template variables (#18497)
This documents the trigger IDs and index variables available in trigger_data for all trigger platforms (https://github.com/home-assistant/core/blob/master/homeassistant/helpers/trigger.py#L79) which was mentioned in the [2021.7 release notes](https://www.home-assistant.io/blog/2021/07/07/release-20217/#trigger-conditions-and-trigger-ids).
2021-07-14 10:37:19 +02:00
Paulus Schoutsen
6a35fa5380
Document trigger entity (#17092)
Co-authored-by: Hmmbob <33529490+hmmbob@users.noreply.github.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-03-30 19:13:29 +02:00
Franck Nijhof
1a49a1b181
Collection of Markdown/YAML cleanups (#16817) 2021-03-02 21:14:30 +01:00
Franck Nijhof
9efbce26f7
My plugin updates (#16806)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-02 14:13:56 +01:00
Erik Montnemery
2b4f3202be
Tweak event trigger template docs (#16713) 2021-02-23 22:21:06 +01:00
Franck Nijhof
db2a9a4a5a
Update YAML standards for automation pages (#16488) 2021-02-10 13:56:13 +01:00
Erik Montnemery
f277317a2e
Improve automation templating docs (#16454) 2021-02-08 22:57:03 +01:00
Franck Nijhof
03d8d34bf8
Bunch of YAML styling improvements - part 2 (#16379) 2021-02-01 22:46:37 +01:00
MagieMalone
5f1efdeeb6
easier return entity state object of a trigger (#16294)
replacing  `states[trigger.to_state.domain][trigger.to_state.object_id]`
with `states[trigger.to_state.entity_id]`  for better readability and keeping the same function.
2021-01-25 12:34:36 +01:00
Malte Franken
f3d4350330
Add trigger.query to webhook documentation (#14950) 2020-10-20 22:10:02 +02:00
Klaas Schoute
610597eb83
✏️ Move automation and backend redirect to file (#14759) 2020-10-02 12:01:12 +02:00
Stefan
2cbf74204a
Update templating.markdown (#14704)
Fixed broken link
2020-10-02 10:43:32 +02:00
Carlo Costanzo
af2765934d
Minor edit: Service_template is obsolete (#14621)
Switching last service_template to just service.
2020-09-27 13:41:36 +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
akasma74
08817e566f
correct note about trigger (#12372)
* correct note about trigger

Don't think the existing way of testing automations with trigger in templates makes sense.
I tried to show how to debug such automations.

* add missing bracket

to fix the build
2020-04-13 08:23:15 +02:00
Franck Nijhof
f0d37f49db
Extends textlint Terminology list; part 2 (#12068) 2020-02-12 19:59:10 +01:00
Jay
38d0ab195d
Add note and tweak examples
A common question in the support channels involves the `UndefinedError` returned when an automation that references a trigger state object in the action is manually triggered. Hopefully this note will reduce those questions in the future. I also tweaked the example automations.
2020-01-28 08:50:43 -06:00
cgtobi
ca7a714ab2 Add info about concurrent use of data and data_template (#9890) 2019-07-18 12:18:35 +02:00
Paulus Schoutsen
fddf4241f2 Merge remote-tracking branch 'origin/current' into rc 2019-07-16 15:28:06 -07: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
Phil Bruckner
f955c61226 Add template support to numeric_state trigger's for option (#9781) 2019-07-10 12:39:08 +02:00
Phil Bruckner
de15708667 Add missing trigger.for variable to template trigger (#9752) 2019-07-06 01:06:58 +02: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
emontnemery
862bcab05e Update templating.markdown (#8790) 2019-03-13 20:47:09 +01:00
Kevin
62bc9ab668 Added example (#7469)
Added an additional tested and working example of how to use a trigger variable in an automation.
2018-11-19 23:20:27 +01:00
Fabian Affolter
4998875ac8
Move {% raw %} 2018-11-11 23:37:47 +01:00
Paulus Schoutsen
6d1c5eda38 Add webhook trigger docs (#6610) 2018-10-09 16:19:50 +02:00
Carlo Costanzo
06b8b5e90d
Added in trigger data
Because it took me YEARS to figure out.
2017-12-07 14:47:11 -05:00
cdce8p
1d6c309d4d * Added "Trigger State Object" section (#3863) 2017-11-18 00:11:39 +01:00
Brahma Fear
f0503a3088 Quotes added to example (#2245)
The automation 2 / action / data_template example does not adhere to the **must** directive to wrap single line templates in some form of quote.
2017-03-14 11:16:00 +01:00
tradiuz
58db489564 Fixing broken links (#2217) 2017-03-08 04:17:36 +01:00
Fabian Affolter
481320128f Re-organisation Documentation and Getting started (#2055)
* Split MQTT documentation

* Add more details

* Move content to /docs

* Enable sidebar

* Move content to /docs

* Enable sidebar

* Move content

* Update links

* Remove wizard stuff

* Enable sidebar

* Minor changes

* Move MQTT parts to /docs

* update links

* Update links and sync content

* Fix link

* Enable sidebar

* Remove navigation

* Remove navigation and other minor updates

* Update links

* Add overview page

* Make title linkable

* Update

* Plit content

* Update links

* Rearrange content

* New getting-started section

* Add icons for docs

* Update for new structure

* Update for new structure

* Add docs navigation

* Add docs overview page

* Remove ecosystem navigation

* Add docs and remove other collections

* Move ecosystem to docs

* Remove duplicate files

* Re-add ecosystem overview

* Move to ecosystem

* Fix permission

* Update navigation

* Remove collection

* Move overview to right folder

* Move mqtt to upper level

* Move notebook to ecosystem

* Remove un-used files

* Add one more rectangle for iOS

* Move two parts back from docs and rename Run step

* Remove colon

* update getting-started section

* Add redirect

* Update

* Update navigation
2017-02-23 11:09:41 +01:00