Commit Graph

289 Commits (zxdavb-patch-1)

Author SHA1 Message Date
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
Franck Nijhof 4c291fd029
Merge branch 'current' into rc 2020-08-11 14:08:32 +02:00
Franck Nijhof f3e195f7d9
Merge branch 'current' into next 2020-08-11 14:08:05 +02:00
Stefan 8151efd0bc
Zone Trigger: changed entity_id from device_tracker to person (#14228)
Entity_id of a zone trigger can be both a person, or a device_tracker. I'd say that a person entity is the newer, recomended type.
2020-08-11 13:05:41 +02:00
Felix Stupp cddd3720db
Fixed ambigouty about above/below for automation trigger numeric_state (#14204)
Above and below are strict comparison operators (> or <, not >= or <=).
The version before was ambiguous about that by explaining that values like 17 or above will trigger the automation.
2020-08-11 12:49:45 +02:00
Franck Nijhof accbc276de
Add support for multiple time triggers in automations (#14035) 2020-08-03 14:53:53 +02:00
Kocsen Chung 854e00b37a
Fix typo in state trigger warning (#13863)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-06-28 10:35:44 +02:00
Thomas Dietrich 4651e7fe91
Extend triggers intro section (#13812)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-06-22 19:01:42 +02:00
Max 681549e282
Add a bit on device triggers in /automation/trigger (#13289)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-06-01 21:00:34 +02:00
AJStubbsy 7753b3e886
AJStubbsy.markdown (#13551) 2020-05-22 12:24:28 +02:00
Michael A. Alderete e598f40474
Expand doc for webhook triggers (#13092)
* Expand doc for webhook triggers

Edit webhook trigger doc for clarity and grammar. 
Add explanation that using a webhook in a trigger automatically creates the webhook.

* Add fenced code language hint
2020-04-22 13:14:15 +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
adamaze ab346ed57a
add clarifying note about webhook trigger (#12809) 2020-04-11 10:37:33 +02:00
akasma74 390bcc168e
Change wording of triggers (#12715)
* change wording

I think "trigger this automation" makes more sense than "fire this trigger".

* make terms consistent
2020-04-06 13:18:55 +02:00
cklagenberg 0bd23272f7
Removed use of default group (#12709)
Since release 104 default groups is no longer maintained. 
Replaced with "all"
2020-04-06 12:34:26 +02:00
akasma74 6cbe897a2c
example updated (#12384)
There is no need in using as_timestamp as we can subtract datetimes and then use the resulting timedelta's total_seconds()
I believe it's more intuitive and elegant
2020-03-16 13:02:11 +01:00
Alok Saboo aa7a018464
Change i.e. and e.g. to i.e.,, and e.g., (#12162)
* Change i.e. and e.g. to i.e.,, and e.g.,

* Update textlintrc.json

* Update .textlintrc.json

Co-Authored-By: Franck Nijhof <frenck@frenck.nl>

* added i.e.,

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-02-22 20:50:26 +01:00
Dubh Ad 98376d0fc6
Adding a note about states (#12128)
* Adding a note about states

It's a regular thing on Discord to have to point this out to folks, so it's long past time we highlighted this somewhere IMO.

* ✏️ Tweak

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-02-20 09:23:42 +01:00
Franck Nijhof 6ead12efbc
Extends textlint Terminology list; part 5 (#12072)
* Extends textlint Terminology list; part 5

* Remove walkthrough from textlint

* Improve Default Configuration page links
2020-02-13 13:39:06 +01:00
Franck Nijhof f0d37f49db
Extends textlint Terminology list; part 2 (#12068) 2020-02-12 19:59:10 +01:00
Franck Nijhof eb54746503
Merge branch 'current' into next 2020-01-28 16:00:56 +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
Franck Nijhof adf27386d9
Merge branch 'current' into next 2020-01-27 15:47:25 +01:00
Franck Nijhof b88030871b
Remove deprecation warnings from 0.42 (#11861) 2020-01-24 18:09:46 +01:00
Franck Nijhof d5d8c0c938
Merge branch 'rc' into current 2020-01-15 21:42:58 +01:00
Franck Nijhof caff890f38 Remove deprecated hide_entity for automations (#11754) 2020-01-15 11:54:01 -08:00
Franck Nijhof b7deb649d8
Merge branch 'current' into next 2020-01-11 10:34:05 +01:00
Petro31 bb483a5540 Update condition.markdown (#11688)
Quoting was wrong.
2020-01-09 18:29:36 +01:00
Franck Nijhof ada7cc55a4 Entity Component to no longer generate automatic groups (#11662)
* Entity Component to no longer generate automatic groups

* Entity Component to no longer generate automatic groups
2020-01-07 18:00:45 +01:00
Dan Jackson 25d9e68286 Update trigger.markdown for consistency with automation_sun.ma… (#11573)
Looks like a similar change was made to `automation_sun.markdown` in #10532, attributed to #10315.

As someone trying to add an automation for the sun's elevation, the inconsistency was confusing. I don't know if other parts of this page should be updated in a similar way.
2019-12-30 21:35:19 +01:00
Eric Miller c050b8ee6a Add editor ID's are automatically generated. (#11055)
Added that editor ID's are automatically generated.
2019-12-03 10:54:48 +01:00
Ketil Moland Olsen 9b027281c7 Updated http to https in link URL (#10893) 2019-10-19 22:06:25 +02:00
kloggy 61f97d40d1 Added alternative to using now() as a trigger (#10615)
* Added alternative to using now() as a trigger

Based on this forum thread https://community.home-assistant.io/t/automation-condition-if-a-state-of-an-entity-hasnt-changed/140791/4

and the fact that I regularly see people say how you can’t use now() as a trigger but no one has ever offered an alternative.

* Reinstated {% raw %} and {% endraw %} tags
2019-10-13 11:42:06 +02:00
Tom Brien d6c2db6c6a Update instructions for using Check Config Tool (#10619)
* automation troubleshooting.markdown

Add explanation of making check config visible

* withings.markdown

Add explanation of how to make the check config tool visible

* configuration.markdown

Add explanation to display the check config tool
2019-10-08 12:55:08 +02:00
Klaas Schoute 0b0c3bac13 🔗 Fix broken links (part 6) (#10579) 2019-10-02 23:53:09 +02:00
Paul Sinclair e446bebc63 📚Update URL's with sensor in docs folder (#10559)
* 📚Update URL's with sensor in docs folder

* 🔨Fix typo in link
2019-10-02 21:38:18 +02:00
Franck Nijhof dcc7c10ce4
Rewrites all URLs in our website from components -> integrations 2019-10-02 00:35:28 +02:00
kdvlr 0daad58567 Clarified the behavior of conditions. (#10461)
* Clarified the behavior of conditions. 

The current reading of the documentation indicates that if a condition evaluates to true it stops executing. Added additional context to the first line to describe the actual behavior.

* Updated docs to clarify conditions behavior

The current reading of the documentation indicates that if a condition evaluates to true it stops executing. Added additional context to the first line to describe the actual behavior.

* Renamed script to automation

* Changed to script or automation for consistency.
2019-09-28 09:37:15 +02:00
Nick Touran c35303e37f Corrected math in description of twilight. (#10431) 2019-09-23 09:30:16 +02:00
pvmil 45d0f0882a Minor update time pattern trigger in web-interface (#10226)
I spent some time (newbie) before I found out I had to fill '*' for fields I did not plan to fill (like 'hour')
2019-08-27 18:46:05 +02:00
vocweb e70eeb83d3 Update condition (#10239)
condition: numeric state => condition: numeric_state
2019-08-27 10:05:57 +02:00
akasma74 7bea0d9681 added Testing section (#9767)
* added Testing section

I saw no such thing in docs and it constantly causes topics like this - https://community.home-assistant.io/t/condition-problems/124222.
Hope this addition is useful.

* make it more readable

* moving Testing section to this better place

as discussed here https://github.com/home-assistant/home-assistant.io/pull/9767#issuecomment-511128560

* moving Testing bit to Troubleshooting

as discussed here https://github.com/home-assistant/home-assistant.io/pull/9767#issuecomment-511128560

* ✏️ Tweak

* 🚑 Removing linkable_title
2019-08-21 23:19:47 +02:00
Paulus Schoutsen a425b65733 Merge conflict 2019-07-31 16:26:56 -07:00
Paulus Schoutsen 9c0308b489 Merge branch 'current' into next 2019-07-31 16:26:37 -07:00
Tony Brobston 62c4d0d4bb Update trigger.markdown (#10008)
When I was reading through the offset documentation I noticed what I think is a mistake in the comment. Could someone validate that this change is correct? Thank you.
2019-07-31 10:04:11 +02:00
Franck Nijhof 26e70ada7a
Merge branch 'current' into next 2019-07-18 19:17:44 +02:00
cgtobi ca7a714ab2 Add info about concurrent use of data and data_template (#9890) 2019-07-18 12:18:35 +02:00
Paulus Schoutsen 9d69557aee Merge branch 'current' into next 2019-07-17 14:43:58 -07:00
Paulus Schoutsen fddf4241f2 Merge remote-tracking branch 'origin/current' into rc 2019-07-16 15:28:06 -07:00
Franck Nijhof bfd1b1ad23
Merge branch 'current' into next 2019-07-16 00:05:15 +02:00
Franck Nijhof c464056402
Making our website faster, cleaner and prettier (#9853)
* 🔥 Removes octopress.js

* 🔥 Removes use of root_url var

* 🔥 Removes Octopress generator reference from feed

* 🔥 Removes delicious support

* 🔥 Removes support for Pinboard

* 🔥 Removes support for Disqus

* 🔥 Removes support for Google Plus

* ↩️ Migrate custom after_footer to default template

* ↩️ Migrate custom footer to default template

* ↩️ Migrate custom header to default template

* 🔥 Removes unused template files

* 🚀 Places time to read directly in post template

* 🚀 Removes unneeded capture from archive_post.html template

* 🔥 🚀 Removes unused, but heaving sorting call in component page

* 🚀 Merged javascripts into a single file

* 🔥 Removes more uses of root_url

* 🚀 Removal of unneeded captures from head

* 🔥 🚀 Removal of expensive liquid HTML compressor

* 🔥 Removes unneeded templates

* 🚀 Replaces kramdown with GitHub's CommonMark 🚀

* 💄 Adds Prism code syntax highlighting

*  Adds support for redirect in Netlify

* ↩️ 🔥 Let Netlify handle all developer doc redirects

* ✏️ Fixes typo in redirects file: Netify -> Netlify

* 🔥 Removes unused .themes folder

* 🔥 Removes unused aside.html template

* 🔥 Removes Disqus config leftover

* 🔥 Removes rouge highlighter config

* 🔥 Removes Octopress 🎉

* 💄 Adjust code block font size and adds soft wraps

* 💄 Adds styling for inline code blocks

* 💄 Improve styling of note/warning/info boxes + div support

* 🔨 Rewrites all note/warning/info boxes
2019-07-15 22:17:54 +02:00
akasma74 07dcd146ea state trigger - entity_id details (#9850)
* state trigger - entity_id details

I think it would be beneficial to underline in text that it is possible to use multiple entities in entity_id.
Not sure if it is applicable to any other triggers that accept entity_id (like numeric_state)

* ✏️ Tweak
2019-07-14 14:20:15 +02:00
Paulus Schoutsen eb5f18c8fc Merge remote-tracking branch 'origin/current' into next 2019-07-11 14:39:19 -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 c7e68622eb Add template support to state trigger's for option (#9762) 2019-07-08 14:00:19 -07:00
Phil Bruckner de15708667 Add missing trigger.for variable to template trigger (#9752) 2019-07-06 01:06:58 +02:00
Franck Nijhof 368c941f7e
Merge branch 'current' into next 2019-07-05 12:31:20 +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
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
Phil Bruckner 8b83098a77 Add template support to template trigger's for option (#9714) 2019-06-29 17:20:47 +02:00
Paulus Schoutsen b5dd360691 Merge remote-tracking branch 'origin/current' into next 2019-06-19 16:29:24 -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
David Beitey 6a186ee61d Note that changing automations reformats templates (#9275) 2019-06-18 14:31:00 +02:00
Phil Bruckner 68deb29523 Add for option for template triggers (#9572) 2019-06-07 21:45:56 -07:00
Klaas Schoute aec551668f
✏️ Tweak 2019-05-30 00:09:16 +02:00
Erik Montnemery 29f5b7f947
Update trigger.markdown 2019-05-10 17:36:49 +02:00
Erik Montnemery 4ae0644122
Update trigger.markdown 2019-05-10 15:10:13 +02:00
Erik Montnemery 3f1fd2a251
Update trigger.markdown 2019-05-09 16:43:41 +02:00
Klaas Schoute ad90494bc7 Update webhook documentation for trigger.query (#9202) (#9346) 2019-04-29 08:10:45 +02:00
ActuallyRuben d46ee49b33 Update webhook documentation for trigger.query (#9202) 2019-04-28 22:57:22 +02:00
cryptelli 0d47b3f829 Additional info on when template triggers fire (#8927)
Suggested change to remove any ambiguity when it comes to the conditions on when a template trigger will fire. This misunderstanding of the documentation has been posted on the forums before:

Case 1: https://community.home-assistant.io/t/trigger-template-limitation/68663/5
Case 2: https://community.home-assistant.io/t/template-trigger-only-work-in-templates-editor/24962
2019-03-15 08:47:40 +01:00
emontnemery 862bcab05e Update templating.markdown (#8790) 2019-03-13 20:47:09 +01:00
plyblu 565859914c Add webhook example to trigger.markdown (#8366)
This makes more clear that: 1) https may be needed rather than http, 2) data is not needed for a webhook trigger to function, and 3) "curl" is a good way to test it.  Hoping to save other people some of the time I spent figuring out how to get it to work.
2019-02-12 00:53:04 +01:00
Paulus Schoutsen c931155d1a Merge branch 'rc' into current 2019-02-06 14:52:17 -08:00
DubhAd 66f65d6a94 Simplifying the `for:` section (#8416)
The `for:` piece can be confusing for folks, providing the examples as human readable time, and mentioning that days and milliseconds are also supported.
2019-02-05 14:57:01 -05:00
Fabian Affolter c3e094fdce
Merge branch 'current' into next 2019-01-27 23:38:52 +01:00
DubhAd e79db724de Note about time trigger, and tidy up (#8292)
Removed the out of context block about the sun, under the time pattern. It doesn't appear to fit anywhere, and appeared in the RC merge.

Added warning about `00` and so on
2019-01-27 21:08:35 +01:00
DubhAd f68f6db843 Updating example, adding link (#8290)
Updated the example in the multiple triggers section to be valid. Added link from the top of the page.
2019-01-26 10:55:31 +01:00
jmtatsch 09cc247d49 Add encoding parameter to mqtt automation (#8247)
* Add encoding parameter to mqtt automation #20292

This is needed to trigger on received images/other byte payloads via mqtt because otherwise the decode fails. See also 
#16004

* Update trigger.markdown

clarify
2019-01-25 13:48:05 +01:00
Paulus Schoutsen b50c3616a3 Merge branch 'rc' into current 2019-01-23 12:58:40 -08:00
txNgineer 8b744ce760 Update trigger markdown to expand twilight discussion and sunrise timing (#8194)
* Update trigger markdown to expand twilight discussion and sunrise timing

These changes expand on the sun angle for addition darkness by including detail on the three twilight definitions. A brief discussion has also been added to the time trigger section to explain why many automations that are relative to sunrise often fail.  Since sunrise is a different day than any time before midnight, using timestamps is a reasonable option.

* Minor changes

* ✏️ Tweaks
2019-01-17 21:47:40 +01:00
Adam Mills 6616750d57 Split time_pattern triggers from time trigger (#8080)
* Split interval triggers from time trigger

* Default smaller interval units to zero

* Rename interval to schedule

* Rename schedule trigger to time_pattern
2019-01-15 22:29:42 +01:00
Malte Franken 2daaea690f Geo Location -> Geolocation (#8086)
* fixed gelocation naming

* fixed broken link
2019-01-07 11:15:53 +01:00
Paulus Schoutsen f11e64fc02
Update trigger.markdown 2018-12-10 16:23:50 +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
Malte Franken fc92cf476c explaining geo location automation trigger (#7041) 2018-10-24 00:14:48 +02:00
Paulus Schoutsen 54f350b22b Merge branch 'rc' into current 2018-10-12 16:57:35 +02:00
Paulus Schoutsen 6d1c5eda38 Add webhook trigger docs (#6610) 2018-10-09 16:19:50 +02:00
DubhAd 348c952f85 Little note that triggers are or (#6575)
We don't really call out that triggers are `or`, so adding a little about that here.
2018-10-07 11:43:54 +02:00
DubhAd 59d24cc2c3 Adding warning here about the use of now() (#5995)
Adding the warning here, rather than just lurking in the templating docs.
2018-08-11 22:13:12 +02:00
Joakim Sørensen e622fc127d Missing a bracket in one of the examples (#5526) 2018-06-11 15:30:59 +02:00
Fabian Affolter 548c014edc
Move raw 2018-06-01 00:44:04 +02:00
Fabian Affolter 0499919cad
Update format 2018-06-01 00:40:56 +02:00
DubhAd 89406e3ea0 Consistency update (#5136)
It was pointed out that everywhere else `entity_id:` is in the `data:` section for `light.turn_on`. Updating the example here to be consistent with that.
2018-04-09 20:15:34 +02:00
Robert 6a35c3515d Automations file has fixed name and location (#4993)
* automations file has fixed name and location

The name and path of the automations file are fixed. Clarification for #13411

* ✏️ Grammar
2018-03-23 10:30:34 +01:00
DubhAd 07aec2ca9d Updated GPS tracker list (#4952)
Reworded, and included GPS Logger in the list of zone trigger related components
2018-03-19 12:23:10 +01:00
DubhAd 491cee2892 Tweaked automations (#4951)
Added comment about why we don't use `-` before the first `service:` line.

Removed the `-` from the last example's service_template
2018-03-19 12:14:14 +01:00
DubhAd 17e85edf36 Tweaked automation (#4953)
Added automation: at the start, for consistency with our other examples
2018-03-19 12:13:35 +01:00
DubhAd 284b67a47f
Merge pull request #4734 from oncleben31/patch-1
`automation` and `automation old` in the same time
2018-02-26 22:01:56 +00:00