Skip to content

Commit

Permalink
docs(integration): add docs about deconz new attribute listen_to
Browse files Browse the repository at this point in the history
  • Loading branch information
xaviml committed Jul 5, 2021
1 parent d7175b4 commit 57f1740
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 6 additions & 4 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ _This minor change does not contain any breaking changes._
_Note: Remember to restart the AppDaemon addon/server after updating to a new version._
PRERELEASE_NOTE

<!--
## :pencil2: Features
-->

## :hammer: Fixes
- Add option to read `unique_id` attribute for deCONZ integration. Read more about it [here](https://xaviml.github.io/controllerx/others/integrations#deconz) [ #333 ]

- Clean action handle when there is an error. This will help for error logging.
<!--
## :hammer: Fixes
-->

<!--
## :clock2: Performance
Expand All @@ -26,6 +26,8 @@ PRERELEASE_NOTE
## :wrench: Refactor
-->

<!--
## :video_game: New devices
- [E1812](https://xaviml.github.io/controllerx/controllers/E1812) - add ZHA support [ #324 ]
-->
5 changes: 3 additions & 2 deletions docs/others/integrations.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Three things to clarify when using the `z2m` integration listening to MQTT:

#### deCONZ

This integration(**`deconz`**) listens to `deconz_event` events and actions gets fired by default with the `event` attribute from the `data` object. However, you can change the attribute to listen to by adding a `type` attribute. This is an example
This integration(**`deconz`**) listens to `deconz_event` events and actions gets fired by default with the `event` attribute from the `data` object. However, you can change the attribute to listen to by adding a `type` attribute. In addition, you can select which attribute to listen to (`id` or `unique_id`) with `listen_to`. This is an example:

```yaml
example_app:
Expand All @@ -50,7 +50,8 @@ example_app:
controller: magic_cube
integration:
name: deconz
type: gesture
listen_to: unique_id # defaults to `id`
type: gesture # defaults to `event`
light: light.example_light
```
Expand Down

0 comments on commit 57f1740

Please sign in to comment.