Skip to content

Commit

Permalink
Add Colored Flash Example to deCONZ (home-assistant#15705)
Browse files Browse the repository at this point in the history
  • Loading branch information
D34DC3N73R authored Nov 23, 2020
1 parent f66dbd7 commit 58a5c8f
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions source/_integrations/deconz.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 58a5c8f

Please sign in to comment.