diff --git a/atom.xml b/atom.xml index 4dd2c42f5d..009a84ba61 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/announcements/atom.xml b/blog/categories/announcements/atom.xml index de88787626..941218cb60 100644 --- a/blog/categories/announcements/atom.xml +++ b/blog/categories/announcements/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Announcements | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/community/atom.xml b/blog/categories/community/atom.xml index 28980b3b57..abb6b1e739 100644 --- a/blog/categories/community/atom.xml +++ b/blog/categories/community/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Community | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/device-tracking/atom.xml b/blog/categories/device-tracking/atom.xml index 197c573f3c..b7865a3ecd 100644 --- a/blog/categories/device-tracking/atom.xml +++ b/blog/categories/device-tracking/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Device-Tracking | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/esp8266/atom.xml b/blog/categories/esp8266/atom.xml index a17317d679..f8ffda5516 100644 --- a/blog/categories/esp8266/atom.xml +++ b/blog/categories/esp8266/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: ESP8266 | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/how-to/atom.xml b/blog/categories/how-to/atom.xml index 1f47f3ff1a..daef45f355 100644 --- a/blog/categories/how-to/atom.xml +++ b/blog/categories/how-to/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: How-To | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/ibeacons/atom.xml b/blog/categories/ibeacons/atom.xml index 9b8c0433c4..1e3364bdc4 100644 --- a/blog/categories/ibeacons/atom.xml +++ b/blog/categories/ibeacons/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: iBeacons | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/internet-of-things/atom.xml b/blog/categories/internet-of-things/atom.xml index 26d8ec993e..a94d6e7157 100644 --- a/blog/categories/internet-of-things/atom.xml +++ b/blog/categories/internet-of-things/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Internet-of-Things | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/iot-data/atom.xml b/blog/categories/iot-data/atom.xml index 3183d35057..e8754aca03 100644 --- a/blog/categories/iot-data/atom.xml +++ b/blog/categories/iot-data/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: IoT-Data | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/merchandise/atom.xml b/blog/categories/merchandise/atom.xml index d1d7fcaff0..bc31e09fea 100644 --- a/blog/categories/merchandise/atom.xml +++ b/blog/categories/merchandise/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Merchandise | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/micropython/atom.xml b/blog/categories/micropython/atom.xml index 8a426326c5..15b81b417b 100644 --- a/blog/categories/micropython/atom.xml +++ b/blog/categories/micropython/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Micropython | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/mqtt/atom.xml b/blog/categories/mqtt/atom.xml index e45e75b16f..8d4253e81c 100644 --- a/blog/categories/mqtt/atom.xml +++ b/blog/categories/mqtt/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: MQTT | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/organisation/atom.xml b/blog/categories/organisation/atom.xml index c5a510599d..74cff349e5 100644 --- a/blog/categories/organisation/atom.xml +++ b/blog/categories/organisation/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Organisation | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/owntracks/atom.xml b/blog/categories/owntracks/atom.xml index d45255e9e4..27fa787184 100644 --- a/blog/categories/owntracks/atom.xml +++ b/blog/categories/owntracks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: OwnTracks | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/presence-detection/atom.xml b/blog/categories/presence-detection/atom.xml index c9a79a9a3f..6c22e00f29 100644 --- a/blog/categories/presence-detection/atom.xml +++ b/blog/categories/presence-detection/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Presence-Detection | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/public-service-announcement/atom.xml b/blog/categories/public-service-announcement/atom.xml index 127b888392..f3314b8137 100644 --- a/blog/categories/public-service-announcement/atom.xml +++ b/blog/categories/public-service-announcement/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Public-Service-Announcement | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/release-notes/atom.xml b/blog/categories/release-notes/atom.xml index 6dafbc7e89..fc3e25379f 100644 --- a/blog/categories/release-notes/atom.xml +++ b/blog/categories/release-notes/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Release-Notes | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/survey/atom.xml b/blog/categories/survey/atom.xml index aea21b778e..6b07349705 100644 --- a/blog/categories/survey/atom.xml +++ b/blog/categories/survey/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Survey | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/talks/atom.xml b/blog/categories/talks/atom.xml index f5df1849ec..87ff186b65 100644 --- a/blog/categories/talks/atom.xml +++ b/blog/categories/talks/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Talks | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/technology/atom.xml b/blog/categories/technology/atom.xml index 717cb6b230..7005eca82b 100644 --- a/blog/categories/technology/atom.xml +++ b/blog/categories/technology/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Technology | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/user-stories/atom.xml b/blog/categories/user-stories/atom.xml index 95082f4e4e..1f69e9dc52 100644 --- a/blog/categories/user-stories/atom.xml +++ b/blog/categories/user-stories/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: User-Stories | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/video/atom.xml b/blog/categories/video/atom.xml index b9a7e6cc86..cb29e43070 100644 --- a/blog/categories/video/atom.xml +++ b/blog/categories/video/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Video | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/blog/categories/website/atom.xml b/blog/categories/website/atom.xml index 98a1499feb..0f44dc3aef 100644 --- a/blog/categories/website/atom.xml +++ b/blog/categories/website/atom.xml @@ -4,7 +4,7 @@ <![CDATA[Category: Website | Home Assistant]]> - 2017-05-30T06:56:08+00:00 + 2017-05-30T07:42:26+00:00 https://home-assistant.io/ diff --git a/docs/configuration/templating/index.html b/docs/configuration/templating/index.html index 2c7a754afd..c5b15add7f 100644 --- a/docs/configuration/templating/index.html +++ b/docs/configuration/templating/index.html @@ -232,6 +232,23 @@ Closest to an entity: {{ closest(states.zone.school, 'group.children') }}
'{{value_json.on}}'
 
+

Nested JSON in a response is supported as well

+
{
+  "sensor": {
+    "type": "air",
+    "id": "12345"
+  },
+  "values": {
+    "temp": 26.09,
+    "hum": 56.73,
+  }
+}
+
+
+

Just use the “Square bracket notation” to get the value.

+
'{{ value_json["values"]["temp"] }}'
+
+

The following overview contains a couple of options to get the needed values:

# Incoming value:
 {"primes": [2, 3, 5, 7, 11, 13]}
@@ -250,9 +267,6 @@ Closest to an entity: {{ closest(states.zone.school, 'group.children') }}
 {{ value_json.tst | timestamp_local }}
 {{ value_json.tst | timestamp_utc }}
 {{ value_json.tst | timestamp_custom('%Y' True) }}
-
-# Square bracket notation
-{{ value_json["001"] }}
 
diff --git a/sitemap.xml b/sitemap.xml index f73fb9280c..f989d4cd03 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -3466,62 +3466,62 @@ https://home-assistant.io/demo/frontend.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/index.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-event.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-info.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-service.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-state.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-dev-template.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-history.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-iframe.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-logbook.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/demo/panels/ha-panel-map.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/googlef4f3693c209fe788.html -2017-05-30T06:55:22+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html -2017-05-30T06:55:23+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html -2017-05-30T06:55:23+00:00 +2017-05-30T07:41:28+00:00 https://home-assistant.io/static/mdi-demo.html -2017-05-30T06:55:23+00:00 +2017-05-30T07:41:28+00:00