We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ececc20 + f725b01 commit 09aefebCopy full SHA for 09aefeb
source/_components/binary_sensor.http.markdown
@@ -32,6 +32,7 @@ For a quick test `curl` can be useful to "simulate" a device.
32
33
```bash
34
$ curl -X POST -H "x-ha-access: YOUR_PASSWORD" \
35
+ -H "Content-Type: application/json" \
36
-d '{"state": "off", "attributes": {"friendly_name": "Radio"}}' \
37
http://localhost:8123/api/states/binary_sensor.radio
38
```
0 commit comments