Merge pull request #670 from tguerena/patch-1

Update binary_sensor.http.markdown
This commit is contained in:
Robbie Trencheny 2016-07-22 11:23:37 -07:00 committed by GitHub
commit 09aefeb3b6

View File

@ -32,6 +32,7 @@ For a quick test `curl` can be useful to "simulate" a device.
```bash
$ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
-H "Content-Type: application/json" \
-d '{"state": "off", "attributes": {"friendly_name": "Radio"}}' \
http://localhost:8123/api/states/binary_sensor.radio
```