From 1adb48b0a42ccdcefbd4697fd39cfaf42d92c0ce Mon Sep 17 00:00:00 2001 From: Kane610 Date: Wed, 21 Feb 2018 16:09:26 +0100 Subject: [PATCH] Update deconz.markdown (#4494) * Update deconz.markdown Added description and example of new service data attribute * Update deconz.markdown --- source/_components/deconz.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_components/deconz.markdown b/source/_components/deconz.markdown index 6b65b086649..8f9c85f58e2 100644 --- a/source/_components/deconz.markdown +++ b/source/_components/deconz.markdown @@ -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%}