Merge pull request #249 from davidedmundson/master
Fix example for RESTful binary sensor
This commit is contained in:
commit
6e1b22a363
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue