Skip to content

Commit 09aefeb

Browse files
authored
Merge pull request home-assistant#670 from tguerena/patch-1
Update binary_sensor.http.markdown
2 parents ececc20 + f725b01 commit 09aefeb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

source/_components/binary_sensor.http.markdown

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ For a quick test `curl` can be useful to "simulate" a device.
3232

3333
```bash
3434
$ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
35+
-H "Content-Type: application/json" \
3536
-d '{"state": "off", "attributes": {"friendly_name": "Radio"}}' \
3637
http://localhost:8123/api/states/binary_sensor.radio
3738
```

0 commit comments

Comments
 (0)