mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Removed ambigious numbers in example (#21505)
This commit is contained in:
parent
a486944dc9
commit
66604b8702
@ -765,8 +765,8 @@ The following overview contains a couple of options to get the needed values:
|
||||
# Incoming value:
|
||||
{"primes": [2, 3, 5, 7, 11, 13]}
|
||||
|
||||
# Extract third prime number
|
||||
{{ value_json.primes[2] }}
|
||||
# Extract first prime number
|
||||
{{ value_json.primes[0] }}
|
||||
|
||||
# Format output
|
||||
{{ "%+.1f" | value_json }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user