mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
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:
parent
1e74efa747
commit
5d9270c795
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user