Merge pull request #670 from tguerena/patch-1
Update binary_sensor.http.markdown
This commit is contained in:
commit
09aefeb3b6
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue