diff --git a/components/binary_sensor.rest/index.html b/components/binary_sensor.rest/index.html
index 90b1acc752..ae10a71257 100644
--- a/components/binary_sensor.rest/index.html
+++ b/components/binary_sensor.rest/index.html
@@ -91,6 +91,20 @@
The rest
binary sensor platform is consuming a given endpoint which is exposed by a RESTful API of a device, an application, or a web service. The binary sensor has support for GET and POST requests.
+The JSON messages can contain different values like 1
, "1"
, TRUE
, true
, on
, or open
. If the value is nested then use a template.
+
+
+
{
+ "name": "Binary sensor",
+ "state": {
+ "open": "true",
+ "timestamp": "2016-06-20 15:42:52.926733"
+ }
+}
+
+
+
+
To enable this sensor, add the following lines to your configuration.yaml
file for a GET request:
diff --git a/sitemap.xml b/sitemap.xml
index 97f8e44e14..3d03c8c927 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -1797,26 +1797,26 @@
https://home-assistant.io/demo/frontend.html
- 2016-06-20T06:59:29+00:00
+ 2016-06-20T13:47:55+00:00
https://home-assistant.io/demo/index.html
- 2016-06-20T06:59:29+00:00
+ 2016-06-20T13:47:55+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
- 2016-06-20T06:59:29+00:00
+ 2016-06-20T13:47:55+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
- 2016-06-20T06:59:29+00:00
+ 2016-06-20T13:47:55+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
- 2016-06-20T06:59:29+00:00
+ 2016-06-20T13:47:55+00:00
https://home-assistant.io/static/mdi-demo.html
- 2016-06-20T06:59:29+00:00
+ 2016-06-20T13:47:55+00:00