From 856270402e0de974ec416b958cc9e0c9ac57a2cb Mon Sep 17 00:00:00 2001 From: axel simon Date: Sun, 19 Feb 2023 18:09:13 +0000 Subject: [PATCH] Single quotes in the template example make the yaml invalid (#26244) --- source/_integrations/london_air.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/_integrations/london_air.markdown b/source/_integrations/london_air.markdown index 701da220afb..5385ea9c77f 100644 --- a/source/_integrations/london_air.markdown +++ b/source/_integrations/london_air.markdown @@ -68,11 +68,11 @@ To explore the data available within the `data` attribute of a sensor use the `d template: - sensor: - name: "Updated" - state: '{{ state_attr('sensor.merton', 'updated') }}' + state: "{{ state_attr('sensor.merton', 'updated') }}" - name: "Merton PM10" - state: '{{ state_attr('sensor.merton', 'data')[0].pollutants[0].summary }}' + state: "{{ state_attr('sensor.merton', 'data')[0].pollutants[0].summary }}" - name: "Westminster S02" - state: '{{ state_attr('sensor.westminster', 'data')[0].pollutants[3].summary }}' + state: "{{ state_attr('sensor.westminster', 'data')[0].pollutants[3].summary }}" ``` {% endraw %}