Commit Graph

289 Commits (zxdavb-patch-1)

Author SHA1 Message Date
Chris Browet 34a97542d9
FIX: It's "trace:", not "traces:" (#18683)
Not actually sure if it's a doc or code bug, but "traces:" is refused while "trace:" works
2021-08-02 12:40:34 +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
Christopher Loessl 0c7bb747f7
docs(automation): clarify the importance of cross (#18628) 2021-07-27 11:16:51 +02:00
Chris Browet 9bd32c7567
Fix webhook trigger.json example (#18613)
As it is, the curl sample, without data, actually generates a
```
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
```
2021-07-26 10:23:41 +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
Tom Brien 64da9edeef
Add references to traces for automation debugging (#18496)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-13 21:03:16 +02:00
TheDK 046e54f78c
Update trigger.markdown (#18425)
Fixed typo.
2021-07-08 08:41:17 +02:00
Franck Nijhof 862f3858de
Merge branch 'current' into rc 2021-07-07 13:06:30 +02:00
drfinn15 27832b0ade
Typo in automation.turn_off part (#18378)
Changed "on" to "off", because the service automation.turn_off turns automations off, not on.
2021-07-05 11:13:02 +02:00
Franck Nijhof 04987cbb49
Merge branch 'current' into next 2021-06-24 13:20:55 +02:00
kloggy f16008b274
Small clarification for queued automations (#18200) 2021-06-14 23:47:48 +02:00
Erik Montnemery 9df461964a
Document trigger id (#18159) 2021-06-11 23:16:06 +02:00
Franck Nijhof aa08471668
Allow number & sensors references in numeric_state triggers/conditions (#18084) 2021-06-04 18:14:58 +02:00
Jordan Kueh f28203fec7
Adding notes on JSON content-type header (#17902)
I noticed that the `trigger.json` key wasn't accessible unless I explicitly set the `Content-Type` header, so adding my discoveries to the documentation.

Let me know if anything needs to be tweaked!
2021-05-25 13:06:33 +02:00
Andreas Ehn 3f02ea0d49
Improved grammar (#17903) 2021-05-22 22:12:55 +02:00
tobkim 87eaa28be8
Translated condition example to english (#17748)
Wasn't sure I was understanding the condition example correctly, so I translated it to english for clarity.
2021-05-09 02:53:55 +02:00
Franck Nijhof a764f28b8a
Add link from using blueprint to creating blueprint (#17467)
* Add link from using blueprint to creating blueprint

* Update source/_docs/automation/using_blueprints.markdown

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>

Co-authored-by: Klaas Schoute <klaas_schoute@hotmail.com>
2021-04-16 12:58:28 +02:00
Franck Nijhof 07fa3751f8
Merge branch 'current' into rc 2021-04-07 15:11:38 +02:00
Franck Nijhof cc1ba5b00c
Add clarity to automation editor page example sensor (#17268) 2021-04-04 21:32:33 +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
jonwaland 90a1530bf3
Update editor.markdown (#16909) 2021-03-22 13:54:27 +01:00
jonwaland 6296f4b837
Update using_blueprints.markdown (#16910)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-03-18 20:37:06 -07:00
CupertinoGeek afab59d840
Update trigger.markdown (#16961) 2021-03-12 11:45:46 +01:00
Franck Nijhof fad2a45310
Collection of Markdown/YAML cleanups (#16817) 2021-03-03 15:18:25 +01:00
Franck Nijhof 38d229792b
Add more My links (#16816) 2021-03-03 15:18:22 +01:00
Franck Nijhof 1e419b6d8e
My plugin updates (#16806)
Co-authored-by: Bram Kragten <mail@bramkragten.nl>
2021-03-03 15:18:17 +01:00
Erik Montnemery 0ec95a994a
Fix MQTT trigger value_template example (#16755) 2021-03-03 15:18:11 +01:00
Erik Montnemery 9737e87dab
Document value_template in MQTT triggers (#16754) 2021-03-03 15:18:08 +01:00
Anders Melchiorsen 7962e3ae9e
Clarify template trigger behaviour (#16733) 2021-03-03 15:17:54 +01:00
Franck Nijhof ea69f1080b
Merge branch 'current' into next 2021-02-24 12:23:34 +01:00
Erik Montnemery 2b4f3202be
Tweak event trigger template docs (#16713) 2021-02-23 22:21:06 +01:00
Franck Nijhof 14d360ef22
Merge branch 'current' into next 2021-02-15 13:29:02 +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
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 09759662a1
Bunch of YAML styling improvements - part 3 (#16394) 2021-02-04 03:00:11 +01:00
Franck Nijhof e8535feb9d
Merge branch 'current' into rc 2021-02-03 12:04:23 +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
Franck Nijhof 63cb191bcd
Merge branch 'current' into next 2021-01-25 15:35:39 +01:00
kozerskil 24d84ac6f8
Update trigger.markdown (#16257)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-01-25 14:20:16 +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
Dubh Ad 77bdc16fb8
Update trigger.markdown (#16271)
Geolocation vs zone causes regular confusion.
2021-01-24 01:05:29 +01:00
Erik Montnemery ec85500da3
Clarify state trigger functionality (#16184)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-01-15 19:04:20 +01:00
Alexei Chetroi f08a5ef3d4
Update numeric_state trigger documentation (#16171) 2021-01-13 16:20:56 +01:00
Franck Nijhof c0c2318cfa
Merge branch 'current' into next 2020-12-28 14:02:58 +01:00
Bram Kragten 1fb777d2b4
Update links to blueprint exchange forum (#15890) 2020-12-13 12:27:43 +01:00
Franck Nijhof 68c232916a
Merge branch 'current' into rc 2020-12-13 01:49:04 +01:00
Franck Nijhof b42020e07d
Merge branch 'current' into next 2020-12-13 01:48:35 +01:00
Villhellm 75127c197a
Remove warning about using `now()` (#15878)
Remove warning about using `now()` in template triggers
2020-12-10 20:39:09 +01:00
Paulus Schoutsen 2fe67fcf84
Update link to the blueprints category. (#15874)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-12-10 13:19:22 +01:00
Paulus Schoutsen 7fd33e9c01
Update link to the blueprints category. (#15874)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-12-10 12:00:56 +01:00
Paulus Schoutsen f4cc863877
Reorg automation docs and add a using blueprints section (#15811)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2020-12-04 11:23:38 +01:00
Paulus Schoutsen b6f43edbb3
Reorg automation docs and add a using blueprints section (#15811)
Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Zack Barett <arnett.zackary@gmail.com>
2020-12-04 10:26:04 +01:00
Franck Nijhof e2e5c94921
Add support for multiple tags and devices in tag trigger (#15612) 2020-12-01 09:01:31 +01:00
Franck Nijhof ef2ea93397
Merge branch 'current' into next 2020-11-27 19:55:10 +01:00
HepoH3 0af9e5e563
Update time trigger documentation (#15684)
There is no such device class as "datetime" at the sensor page. Instead, there is timestamp and that is confusing.

See: https://www.home-assistant.io/integrations/sensor/#device-class
2020-11-20 17:42:50 +01:00
Franck Nijhof a355abf72f
Add support for multiple event triggers in automation (#15611) 2020-11-12 12:00:56 +01:00
Franck Nijhof 021550a553
Merge branch 'current' into next 2020-11-11 15:33:07 +01:00
Franck Nijhof e48fed44e2
Add missing tag trigger documentation (#15608) 2020-11-11 10:31:55 +01:00
Paulus Schoutsen 4f9b70c010
Document using sensor for time trigger (#15544) 2020-11-09 14:51:15 +01:00
Franck Nijhof 06f9f368ad
Merge branch 'current' into next 2020-10-21 02:10:41 +02:00
Malte Franken f3d4350330
Add trigger.query to webhook documentation (#14950) 2020-10-20 22:10:02 +02:00
On Freund 842faa9c42
Add multiple user_id example to event trigger (#14750) 2020-10-15 21:18:34 +02:00
Franck Nijhof f8b7591f47
Merge branch 'current' into rc 2020-10-07 12:26:34 +02:00
Franck Nijhof 19cd964130
Merge branch 'current' into next 2020-10-07 12:25:34 +02:00
Juri Calleri 0bfdca7e2f
English code and fixes (#14929)
Not everybody speak Spanish, also, better names for sensor and scene
2020-10-06 10:18:10 +02:00
Ron Klinkien c7b6673cc8
Removed all {{site_root}} entries from links (#14873) 2020-10-04 12:47:06 +02:00
Stefan f170b42a10
Update trigger.markdown (#14711)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-10-02 19:10:02 +02:00
Klaas Schoute 610597eb83
✏️ Move automation and backend redirect to file (#14759) 2020-10-02 12:01:12 +02:00
pniewiadowski 50c360c1af
Fixed broken link (#14757) 2020-10-02 11:17:06 +02:00
Stefan 2cbf74204a
Update templating.markdown (#14704)
Fixed broken link
2020-10-02 10:43:32 +02:00
On Freund f9c0581076
Add context to event trigger documentation (#14678) 2020-10-01 11:59:31 +02:00
Franck Nijhof bd41672de7
Merge branch 'current' into next 2020-09-30 14:03:05 +02:00
Adam Whittingham 16663651c5
Update above/below note (#14658)
The note has the words `above` and `below` the wrong way around, and is probably clearer if `and` is used to show both conditions must be true.
2020-09-30 12:37:56 +02:00
Franck Nijhof ce6ebd36f8
Merge branch 'current' into next 2020-09-29 19:16:30 +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 c69644ae58
Merge branch 'current' into next 2020-09-24 16:46:51 +02:00
remy33 b0f8376250
Update trigger.markdown (#14583)
-d "" as empty  seems to not work as expected.
Explicit POST solves it.
2020-09-23 11:13:57 +02:00
Franck Nijhof 22471fcfed
Merge branch 'current' into next 2020-09-19 10:23:38 +02:00
Thomas Lovén 6b50ac40f6
Quotes around jinja template (#14543) 2020-09-18 09:52:47 +02:00
Franck Nijhof 117d3ae00f
Fix state trigger attribute example (#14461) 2020-09-10 21:18:08 +02:00
Paulus Schoutsen ea44553595
Document variables for scripts/automations (#14458)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-10 21:18:05 +02:00
Franck Nijhof e9bebac1bb
Clarify state triggers holding using for, ignore attribute changes (#14444) 2020-09-10 21:17:58 +02:00
Paulus Schoutsen 1019b852a0
Document variables for scripts/automations (#14458)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-09-10 20:44:19 +02:00
Franck Nijhof 3c67c58e48
Fix state trigger attribute example (#14461) 2020-09-10 20:39:29 +02:00
Franck Nijhof d517bcf127
Clarify state triggers holding using for, ignore attribute changes (#14444) 2020-09-09 21:46:26 +02:00
Franck Nijhof 0ea561ae9d
Support 'for' without setting the 'to'-state in automation state trigger (#14423) 2020-09-07 16:36:49 +02:00
Anders Melchiorsen c859cd071d
Add state trigger examples with to/for and from/for (#14363) 2020-09-07 16:11:27 +02:00
Franck Nijhof 056cdf967a
Add shorthand notation for Template conditions (#14413) 2020-09-06 16:57:08 +02:00
Franck Nijhof 58f7bd7009
Merge branch 'current' into next 2020-09-05 15:14:52 +02:00
Adam 8bd0591e52
Add explanation of multiple entities for the same trigger (#14375)
Addressing Issue #14304
2020-09-03 11:26:21 +02:00
Raman Gupta 7fd75081fe
Include new `attribute` parameter for Numeric State triggers in automation docs (#14361)
Co-authored-by: Zack Arnett <arnett.zackary@gmail.com>
2020-08-31 22:32:27 +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 a89d99be20
Time trigger can also accept an input_datetime Entity ID (#14207)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2020-08-13 13:29:20 +02:00