Fixes code fencing in DeConz documentation (#10523)

This commit is contained in:
markharleman 2019-10-01 12:56:01 +02:00 committed by Franck Nijhof
parent 0919e38183
commit 0b94e91aeb

View File

@ -79,13 +79,21 @@ Set attribute of device in deCONZ using [Rest API](http://dresden-elektronik.git
Either `entity` or `field` must be provided. If both are present, `field` will be interpreted as a subpath under the device path corresponding to the specified `entity`: Either `entity` or `field` must be provided. If both are present, `field` will be interpreted as a subpath under the device path corresponding to the specified `entity`:
```json
{ "field": "/lights/1", "data": {"name": "light2"} } { "field": "/lights/1", "data": {"name": "light2"} }
```
```json
{ "entity": "light.light1", "data": {"name": "light2"} } { "entity": "light.light1", "data": {"name": "light2"} }
```
```json
{ "entity": "light.light1", "field: "/state", "data": {"on": true} } { "entity": "light.light1", "field: "/state", "data": {"on": true} }
```
```json
{ "field": "/config", "data": {"permitjoin": 60} } { "field": "/config", "data": {"permitjoin": 60} }
```
#### Service `deconz.device_refresh` #### Service `deconz.device_refresh`