mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 08:46:51 +00:00
Update deconz.markdown
This commit is contained in:
parent
bf00119cfa
commit
4ae009940d
@ -88,7 +88,7 @@ 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. |
|
||||
| `entity` | No | String representing a specific Home Assistant 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.
|
||||
@ -103,6 +103,8 @@ Field and entity are exclusive, i.e you can only use one in a request.
|
||||
|
||||
Refresh with devices added to deCONZ after Home Assistants latest restart.
|
||||
|
||||
Note: deCONZ automatically signals Home Assistant when new sensors are added, but other devices must at this point in time (deCONZ v2.05.35) be added manually using this service or a restart of Home Assistant.
|
||||
|
||||
## {% linkable_title Remote control devices %}
|
||||
|
||||
Remote controls (ZHASwitch category) will be not be exposed as regular entities, but as events named `deconz_event` with a payload of `id` and `event`. Id will be the device name from deCONZ and Event will be the momentary state of the switch. However, a sensor entity will be created that shows the battery level of the switch as reported by deCONZ, named sensor.device_name_battery_level.
|
||||
|
Loading…
x
Reference in New Issue
Block a user