mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 10:26:52 +00:00
Update deconz.markdown (#4494)
* Update deconz.markdown Added description and example of new service data attribute * Update deconz.markdown
This commit is contained in:
parent
ebc2094347
commit
1adb48b0a4
@ -75,10 +75,15 @@ Set attribute of device in Deconz using [Rest API](http://dresden-elektronik.git
|
||||
| Service data attribute | Optional | Description |
|
||||
|-----------|----------|-------------|
|
||||
| `field` | No | String representing a specific device in deCONZ. |
|
||||
| `entity` | No | String representing a specific HASS entity of a device in deCONZ. |
|
||||
| `data` | No | Data is a JSON object with what data you want to alter. |
|
||||
|
||||
Field and entity are exclusive, i.e you can only use one in a request.
|
||||
|
||||
{ "field": "/lights/1", "data": {"name": "light2"} }
|
||||
|
||||
{ "entity": "light.light1", "data": {"name": "light2"} }
|
||||
|
||||
{ "field": "/config", "data": {"permitjoin": 60} }
|
||||
|
||||
## {% linkable_title Remote control devices%}
|
||||
|
Loading…
x
Reference in New Issue
Block a user