44 Commits

Author SHA1 Message Date
Franck Nijhof
049cde6970
Add support for attributes in (numeric) state conditions (#14271) 2020-08-24 08:08:41 +01:00
Marius
2194975b83
Update conditions.markdown (#14248)
Seems 'when light' and 'when dark' were mixed up, corrected that.
2020-08-15 11:21:17 +02:00
Franck Nijhof
93466506bf
Add support for multiple states/zones in conditions (#13768) 2020-06-22 16:04:12 -07:00
Franck Nijhof
c0ada6683a
Add support for multiple entity_ids in conditions (#13761) 2020-06-15 22:54:32 +02:00
Franck Nijhof
08bac15670
Add NOT condition helper (#13152) 2020-04-24 09:40:59 -07:00
akasma74
4b24fd82dc
add note about time (#12411)
Similar to https://github.com/home-assistant/home-assistant.io/pull/12236
I think it's worth to make it clear how before and after keys work together and separately.
2020-03-17 18:36:55 +01:00
akasma74
e83d466a63
add note about sun.before and after (#12236)
* add note about sun.before and after

Based on this topic - https://community.home-assistant.io/t/automation-with-sun-condition-doesnt-works/175394/3
It's not obvious how to combine these keys.
And it looks like the examples should show it as well.
Comments moved out of the code.

* 📝 Tweaks

* ✏️ Tweak

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2020-03-02 15:20:59 +01:00
Sean Mooney
c973e65514
Remove outdated sentence from Zone condition (#12201)
Removed a sentence from Zone condition which I believe is very outdated and inaccurate. There's definitely more than two device trackers that report GPS coordinates - Life360 and the official iOS / Android mobile apps are ones I use that also do this.
2020-02-28 10:34:33 +01:00
Florijan Hamzic
c887e81e3a Added missing quotes for value_template value (#11507)
* added missing quotes for value_template value

* removed redundant quotes for value_template
2019-12-20 22:38:41 +01:00
Michael A. Alderete
2188db3c79 Minor edits for standard English (#11495)
Minor edits to improve American English grammar and usage.
2019-12-19 10:58:51 +01:00
Tom Brien
f8202c1a3e Update reference to HA app to reflect current version (#11360)
* Update attribute

Update `device tracker` attribute to reflect changes in iOS app with release of 2.0/2019

* Change known_devices.yaml example explanation

iOS App 2.0/2019 no long users `known_devices.yaml` so change explanation of example to something that does.

Reword

* Update notification example

Update example automation to reflect changes in in ios app (now used cross-platform domain `mobile_app`)

* Update to reference companion apps

The simplest solution to get battery level is with the companion apps so this should be made clear.

* Add android

We have an android app now 🎉
2019-12-04 12:05:20 +01:00
scheric
19e0ab8253 Fix broken links (#10617)
* Fix broken link

* fix link OwnTracks platform

* fix link in lights built-in profiles

* fix link in Configurator the source

* fix link in Todoist determine....

determine what task in each project is "most" important
2019-10-06 12:11:08 +02:00
Klaas Schoute
0b0c3bac13 🔗 Fix broken links (part 6) (#10579) 2019-10-02 23:53:09 +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
Klaas Schoute
b844165f80 🔨 Fix indents on conditions page (#10061) 2019-08-06 11:07:38 +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
Alex Molodoj
a4ebb42824 Correct ' and " in the sun template example (#9846) 2019-07-13 14:57:35 +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
Klaas Schoute
a3b76fb3ed
✏️ Tweak 2019-05-30 00:10:30 +02:00
Erik Montnemery
60a7ead71a
Fix links. 2019-05-10 17:21:23 +02:00
Erik Montnemery
147513b7c7
Update conditions.markdown 2019-05-10 15:13:02 +02:00
Erik Montnemery
3c2026d683
Update conditions.markdown 2019-05-09 19:03:32 +02:00
Erik Montnemery
ab4e93af8b
Update conditions.markdown 2019-05-09 17:17:22 +02:00
DubhAd
bdbece9f3f Tweak for the template (#8876)
Converting the state string to an int for comparison
2019-03-09 18:37:37 +05:30
DubhAd
edef357100 Making the default and more obvious (#8043)
With the default of `and` being hidden away in the `and` block, it's not obvious. Pulling that out.

Also highlighting that after sunset/before sunrise is the same as a single state check, and same for before sunset/after sunrise.
2019-01-04 19:58:40 +01:00
DubhAd
d703e355c9 Fixing the numeric state examples (#7853)
There's a bunch of copy/paste numeric state conditions that have quotes around them, when they shouldn't
2018-12-15 11:34:57 +01:00
emontnemery
ca4f79b04e Add example sun condition which is true during daytime (#7267)
* Add example condition which is true during daytime

* Update conditions.markdown
2018-11-11 11:41:40 +01:00
Adam Mills
8b88db7ba2 Add timeline chart to explain sun conditions (#7262) 2018-10-30 11:02:33 +01:00
Jonas Skoogh
c796174881 Added tip of the Workday Binary Sensor (#7203) 2018-10-28 19:34:01 +01:00
Adam Mills
44ec6aeaca
Remove incorrect truth table 2018-10-27 11:56:49 -04:00
Joakim Sørensen
8a4b09ac8b Adds quotes for the state in the State condition example. (#6869) 2018-10-16 23:23:33 +02:00
DubhAd
3095ef25c3 Updated template condition (#6042)
Updated the template condition to use `state_attr` instead of the more error prone long form.
2018-08-19 19:26:48 +02:00
Jack
bf37a52eed Small typo on the example for sun (#5688) 2018-07-08 11:58:10 +02:00
DubhAd
d1510bdfb8 sun trigger - Link fix, wording tweak (#4937)
Fixed the link to the actual sun trigger. Tried to add some clarity to the wording over offsets, but I think that needs expansion.
2018-03-16 19:05:04 +01:00
corneyl
cc59a4192e Added info on AND condition (#4867) 2018-03-12 14:02:33 +01:00
Bob Igo
f97d5189e9 Provide an example of how to make a 'when dark' condition by ORing sunrise and sunset conditions. (#4652)
See issue#12308 at https://github.com/home-assistant/home-assistant/issues/12308
2018-02-13 11:10:53 -05:00
Philip Rosenberg-Watt
cee6165345 Fix typo (#4655) 2018-02-12 22:47:50 +01:00
Florian Klien
a034d4b438 truth table for condition sun (#3961)
* added truth table to illustrate sunset condition

truth table illustrates sunset condition with and without offsets

* ✏️ Small typo fix.
2017-11-19 21:20:30 +01:00
Anders Melchiorsen
6c3476ae95 The above/below conditions no longer match equal values (#2757) 2017-06-04 18:46:55 +02:00
15goudreau
bcd9802ac7 Fixed Formatting issue in Mixed Conditions Section (#2345) 2017-03-31 19:30:38 +02: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