adding docs for ord() template filter (#9962)

* adding docs for https://github.com/home-assistant/home-assistant/pull/25398

* ✏️ Tweak
This commit is contained in:
aschamberger 2019-07-26 14:13:23 +02:00 committed by Franck Nijhof
parent 1e74efa747
commit 5d9270c795

View File

@ -277,6 +277,7 @@ Some of these functions can also be used in a [filter](http://jinja.pocoo.org/do
- Filter `min` will obtain the smallest item in a sequence.
- Filter `value_one|bitwise_and(value_two)` perform a bitwise and(&) operation with two values.
- Filter `value_one|bitwise_or(value_two)` perform a bitwise or(\|) operation with two values.
- Filter `ord` will return for a string of length one an integer representing the Unicode code point of the character when the argument is a Unicode object, or the value of the byte when the argument is an 8-bit string.
### Regular expressions