diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 5567c7bf..5f5b76e3 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -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 - -## :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. + + diff --git a/docs/others/integrations.md b/docs/others/integrations.md index c818a4a5..402c2d4c 100644 --- a/docs/others/integrations.md +++ b/docs/others/integrations.md @@ -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: @@ -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 ```