From 58a5c8f7d69ffa70ca1398a0ce5baf00218e26e6 Mon Sep 17 00:00:00 2001 From: D34DC3N73R Date: Mon, 23 Nov 2020 11:00:03 -0800 Subject: [PATCH] Add Colored Flash Example to deCONZ (#15705) --- source/_integrations/deconz.markdown | 33 ++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/source/_integrations/deconz.markdown b/source/_integrations/deconz.markdown index d3fcfdaea9e..66ac662ed1c 100644 --- a/source/_integrations/deconz.markdown +++ b/source/_integrations/deconz.markdown @@ -268,6 +268,39 @@ automation: ``` {% endraw %} + +#### Colored Flashing - RGB Philips Hue bulb using deconz.configure + +Note: Requires `on: true` to change color while the Philips Hue bulb is off. If `on: true` is specified, the bulb remains on after flashing is complete. The previous color is not saved or restored. To color flash light groups, replace `/state` with `/action` and specify the light group as the entity. + +```yaml +automation: + - alias: Flash Hue Bulb with Doorbell Motion + mode: single + trigger: + - platform: state + entity_id: binary_sensor.doorbell_motion + to: 'on' + action: + - service: deconz.configure + data: + entity: light.hue_lamp + field: /state + data: + 'on': true + hue: 65535 + sat: 255 + bri: 255 + alert: breathe + - delay: 00:00:15 + - service: deconz.configure + data: + entity: light.hue_lamp + field: /state + data: + 'on': false +``` + ## Binary Sensor The following sensor types are supported: