From 3baa232df39925980f14784cf5289310accf2cbb Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Mon, 22 Feb 2016 16:13:10 +0000 Subject: [PATCH] Fix example for RESTful binary sensor sensor type should be binary_sensor here --- source/_components/binary_sensor.rest.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_components/binary_sensor.rest.markdown b/source/_components/binary_sensor.rest.markdown index 474a1565d49..c9075bbf8cb 100644 --- a/source/_components/binary_sensor.rest.markdown +++ b/source/_components/binary_sensor.rest.markdown @@ -17,7 +17,7 @@ To enable this sensor, add the following lines to your `configuration.yaml` file ```yaml # Example configuration.yaml entry -sensor: +binary_sensor: platform: rest resource: http://IP_ADDRESS/ENDPOINT method: GET @@ -29,7 +29,7 @@ or for a POST request: ```yaml # Example configuration.yaml entry -sensor: +binary_sensor: platform: rest resource: http://IP_ADDRESS/ENDPOINT method: POST