Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Colored Flash Example to deCONZ #15705

Merged
merged 4 commits into from
Nov 23, 2020
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
35 changes: 35 additions & 0 deletions source/_integrations/deconz.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,41 @@ automation:
mode: restart
```

{% endraw %}

#### Colored Flashing - RGB Philips Hue bulb using deconz.configure
D34DC3N73R marked this conversation as resolved.
Show resolved Hide resolved
Note: Requires `on: true` to change color while the bulb is off. If `on:true` is specified, the bulb remains on after flashing is complete. The previous color is not saved.

{% raw %}
D34DC3N73R marked this conversation as resolved.
Show resolved Hide resolved

```yaml
automation:
- alias: Flash Hue Bulb with Doorbell Motion
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
mode: single
D34DC3N73R marked this conversation as resolved.
Show resolved Hide resolved
```

{% endraw %}
## Binary Sensor

Expand Down