From 66604b8702088e956b2bb6991ccca75cf30714ca Mon Sep 17 00:00:00 2001 From: PCR-2020 <74598939+PCR-2020@users.noreply.github.com> Date: Sun, 6 Feb 2022 18:25:25 +0100 Subject: [PATCH] Removed ambigious numbers in example (#21505) --- source/_docs/configuration/templating.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_docs/configuration/templating.markdown b/source/_docs/configuration/templating.markdown index 249ff8a54da..2ba4d2b4839 100644 --- a/source/_docs/configuration/templating.markdown +++ b/source/_docs/configuration/templating.markdown @@ -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 }}