58 Commits

Author SHA1 Message Date
Paulus Schoutsen
bde81adb63
Document device_id for sentence trigger (#35586) 2024-11-05 12:06:51 -06:00
Franck Nijhof
8b9ad61e42
Improve YAML styling for all automation examples (#34932) 2024-10-02 11:13:23 +02:00
Franck Nijhof
b825527486
Change trigger platform key to trigger (#34901)
* Change trigger platform key to trigger

* Error sneaked in
2024-09-25 14:20:46 +02:00
Franck Nijhof
96e00f69a0
Adjust automation to plural triggers/conditions/actions keys (#34825) 2024-09-24 20:23:58 +02:00
Franck Nijhof
6ca14d3efc
Rename 'service' to 'action' in automations and scripts (#34023)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2024-07-31 14:37:02 +02:00
Danny Tsang
4abb704eea
Add example trigger data in an automation condition (#30669) 2024-01-08 10:21:55 +01:00
c0ffeeca7
8d98500d0e
Docs c z apply sentence style caps add term refs (#29892)
* Docs a-b: apply sentence-style-caps, add term refs

* Docs: apply sentence-style-caps, add term refs

* Apply suggestions from code review

* Glossary: add alias for plural

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

---------

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2023-11-18 14:36:08 +01:00
c0ffeeca7
8a6fa5a803
Docs: apply sentence-style capitalization (#29891)
* Docs: apply sentence-style capitalization

* Update source/_docs/automation/trigger.markdown

* Apply suggestions from code review

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>

---------

Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2023-11-18 11:29:00 +01:00
c0ffeeca7
8bb2c3ead3
Docs: apply sentence-style capitalization (#29867)
* Docs: apply sentence-style capitalization

* Update source/_docs/automation/trigger.markdown
2023-11-16 13:13:28 +01:00
Michael Hansen
c3464e7248
Document sentence trigger wildcards (#28332) 2023-07-27 20:31:02 +02:00
RoboMagus
0d3fbaae6e
Add persistent_notification automation trigger to docs (#27860)
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-06-27 12:21:19 +02:00
Ben Randall
d37d4be6de
Update templating docs (#27107)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-04-25 09:31:05 +02:00
Jallermax
646fa7d5c5
Fix platform variables for device platform (#24343) 2023-01-17 13:28:06 +01:00
akloeckner
d64d397ec6
Clarify that this does not change (#22957) 2022-06-29 13:30:21 +02:00
Justin Scott
17b5cf4422
Document that trigger.idx starts at 0 (#23185)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-28 16:47:01 +02:00
Franck Nijhof
5646666ce6
Merge branch 'current' into next 2022-05-23 19:22:13 +02:00
Allen Porter
6094ada6bb
Update documentation for calendar trigger data event type field (#22845) 2022-05-22 11:38:05 +02:00
Allen Porter
e944dd468d
Add documentation for calendar trigger offset (#22554)
* Add documentation for calendar offset triggers

* Add documentation for offset trigger in template
2022-05-12 07:44:22 -07:00
Allen Porter
5752c9499b
Add documentation for calendar trigger initial version (#22328) 2022-04-25 09:58:10 -07:00
Kamil
3d8b5316e0
Document the type of the webhook.json parameter (#21401)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-31 13:53:17 +01:00
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