Add Colored Flash Example to deCONZ (#15705)

This commit is contained in:
D34DC3N73R 2020-11-23 11:00:03 -08:00 committed by GitHub
parent f66dbd7f8e
commit 58a5c8f7d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: