Paulus Schoutsen
9c0308b489
Merge branch 'current' into next
2019-07-31 16:26:37 -07:00
gjbadros
5b67050231
Corrected an example ( #10005 )
...
This example is trying to draw a distinction but has two identical lines. I suspect this came from a search and replace to switch to the newer states('') notation.
2019-07-29 20:10:24 +02:00
aschamberger
5d9270c795
adding docs for ord() template filter ( #9962 )
...
* adding docs for https://github.com/home-assistant/home-assistant/pull/25398
* ✏️ Tweak
2019-07-26 14:13:23 +02:00
Franck Nijhof
059d4f3537
Removes absolete code from Markdown files ( #9902 )
2019-07-19 01:15:19 +02:00
Paulus Schoutsen
fddf4241f2
Merge remote-tracking branch 'origin/current' into rc
2019-07-16 15:28:06 -07: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
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
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
Franck Nijhof
af37b002c6
Merge branch 'current' into next
2019-06-30 19:27:35 +02:00
akasma74
04ea9a1ebf
notes on using states(xxx) vs states.xxx ( #9687 )
...
* notes on using states(xxx) vs states.xxx
as per this discussion - https://community.home-assistant.io/t/using-better-templates-with-state/122912/14
* ✏️ Moved content to warning message.
* ✏️ Tweak
2019-06-28 22:16:17 +02:00
Penny Wood
4e9d88c40d
Documentation for template expand ( #9394 )
...
* Documentation for template expand
* ✏️ Tweak
2019-06-22 19:44:03 +02: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
akasma74
f6fc30974c
Clarification of Templates using now() ( #9111 )
...
* Clarification of Templates using now()
The current content of that section is hard to understand and there is no example.
Hope the link to some examples will help.
* Minor changes
2019-04-03 17:15:55 -04:00
Brad Dixon
2085bd6343
Doc: Add as_timestamp as a Jinja filter. ( #8905 )
2019-03-11 13:21:43 +05:30
Ian Slinger
696831a242
Reorganise and fix some errors in the Templating docs.
...
There was some confusion about the use of filters in the HA extension,
in fact some of them were wrong.
Also merged the examples for the extensions into sections for each type so
they could be seen in context.
2018-11-04 19:00:39 +11:00
DubhAd
b6d9b8ba5b
Clarity updates ( #6889 )
...
Added note about testing templates in the template tool
Added section about how `|` has priority over non-bracket operators
Some minor changes to steer people towards `states.('...')` rather than `states...state`.
2018-10-17 23:17:03 +02:00
Caswell1000
3cb46731b5
Update templating.markdown ( #6871 )
2018-10-16 23:22:52 +02:00
Blake Blackshear
f970507132
Add docs for bitwise filters ( #6352 )
...
* Add docs for bitwise filters
* Escape pipe
2018-09-27 17:03:39 -04:00
DubhAd
c43b581ad9
Added some details ( #6072 )
...
Making it a little clearer that `40` is a numeric, also making it clearer that it's an *entity attribute* that's being checked
2018-08-24 17:38:58 +02:00
DubhAd
ea30a52a78
Making the warning clearer, and linkable ( #5994 )
...
Making the warning clearer (I'll add something similar to the template trigger docs), and putting a title in so that we can link to it.
2018-08-11 22:34:02 +02:00
Fabian Affolter
fac9257908
Update style
2018-08-11 14:28:32 +02:00
DubhAd
dba8e963ea
Merge pull request #5121 from hokus15/patch-3
...
The distance is in fact measured in kilometers not meters
2018-05-12 18:50:29 +01:00
Paulus Schoutsen
e9aad88641
Fix broken templating
2018-05-06 08:54:51 -04:00
Benedict Aas
ce53c0e9f0
Add more math functions to templates ( #5186 )
...
Document usage of `sin`, `cos`, `tan`, and `sqrt`, and the `e`, `pi`,
and `tau` constants.
2018-04-15 18:52:21 +02:00
Jordi
874f7fb54f
The distance is in fact measured in kilometers not meters
2018-04-05 22:54:58 +02:00
mountainsandcode
4a1255889f
Update templating.markdown ( #5085 )
2018-04-04 20:53:54 +02:00
Paulus Schoutsen
ee19913448
Merge branch 'rc' into next
2018-03-30 15:18:39 -07:00
Marco Bakera
069a9f570e
Fixed minor typo in the description of 'max'. ( #5043 )
...
* Fixed minor typo in the description of 'max'.
* Update link
2018-03-29 09:05:59 +02:00
Mikael Svensson
88c8cc2ff1
Template function state_attr to get attribute from a state ( #4981 )
...
* Adds docs for https://github.com/home-assistant/home-assistant/pull/13378
* 🚑 Fixes build error
2018-03-28 00:04:48 -07:00
Alok Saboo
1aca7b08cf
Misc fixes: e.g. -> e.g., and proper case for Home Assistant ( #4942 )
...
* e.g. to e.g., and proper case for Home Assistant
* Instructions how to -> Instructions on how to
2018-03-17 20:20:37 +01:00
DubhAd
8763565cc1
Fixed template ( #4745 )
...
The example notify is invalid, missing the required `data_template:` line
2018-02-25 09:51:41 +01:00
DubhAd
0b09c4edc3
Removed relative_time ( #4423 )
...
Apparently it was removed some time ago (bug from 0.30.1 saying it didn't work then), but the docs weren't updated.
2018-01-16 21:18:12 +01:00
Odin Ugedal
118a7f59f4
Add template documentation for logarithm ( #4081 )
2017-11-27 21:29:08 -08:00
Fabian Affolter
c0c7d9ea4a
Update 'now()' and 'utcnow()' ( #3625 )
...
* Update 'now()' and 'utcnow()'
* Add note
2017-10-21 09:56:24 +02:00
Aaron Linville
e9b2d55629
Fix Tiny Typo
...
"Wide", not "width" variety of operations.
2017-10-07 18:06:52 -04:00
Paulus Schoutsen
53928f87d2
Add state_with_unit info
2017-08-26 12:35:54 -07:00
Fabian Affolter
fc60fc98ed
Fix syntax
2017-06-13 12:07:01 +02:00
Fabian Affolter
c56581b00c
Add hint about using the dev tools to evaluate a response
2017-06-13 11:06:38 +02:00
Fabian Affolter
9fcfb2368a
Add additional example
2017-05-30 09:29:08 +02:00
Fabian Affolter
ba42dad3c7
Add sample
2017-05-28 19:38:24 +02:00
rpitera
d55ec3008e
Include notes about entity_ids that start with a number ( #2531 )
...
* Include notes about entity_ids that start with a number
Based on info discovered by @armills in forum thread: https://community.home-assistant.io/t/google-maps-as-a-card/9382/40
Wanted to update the docs as I had never run into this before nor had I seen it in the docs.
* Updated based on input from armills
* Format as code
2017-05-01 11:15:24 +02:00
Andrew
77bf711e07
Fixed as_timestamp reference ( #2394 )
...
Requires parenthesis.
2017-04-07 21:34:37 +02:00
bbrendon
079f775b11
fixed broken links and syntax. ( #2380 )
...
* fixed broken links and syntax.
* Update templating.markdown
Reverted name change and fixed link.
2017-04-05 07:22:06 +02:00
Paulus Schoutsen
a17f5f4faf
Revert "Updates round filter documentation" ( #2173 )
2017-02-27 19:53:20 -08:00
Mathew Peterson
b80d69c22c
Updates round filter documentation ( #2159 )
...
Updates round filter documentation to include the 'method' argument.
2017-02-27 11:31:52 +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