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 }}