Site updated at 2016-07-22 18:25:58 UTC
This commit is contained in:
parent
9b9409a7de
commit
58e0010b3b
22 changed files with 29 additions and 28 deletions
|
@ -113,6 +113,7 @@ You should choose a unique device name (DEVICE_NAME) to avoid clashes with other
|
|||
|
||||
<div class="highlighter-coderay"><div class="CodeRay">
|
||||
<div class="code"><pre>$ 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
|
||||
</pre></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue