Added example for Flux Led to use effect:random (#868)

* Added example for Flux Led to use effect:random

* Modified descriptive text
This commit is contained in:
Marcelo Moreira de Mello 2016-08-30 05:51:56 -04:00 committed by Fabian Affolter
parent 2617026e58
commit a9ad754562

View File

@ -54,7 +54,7 @@ light:
automatic_add: True
```
Will add two lights with given name:
Will add two lights with given name and create an automation rule to randomly set color each 45 seconds:
```yaml
light:
@ -65,5 +65,15 @@ light:
name: flux_lamppost
192.168.0.109:
name: flux_living_room_lamp
```
automation:
random_flux_living_room_lamp:
trigger:
platform: time
seconds: '/45'
action:
service: light.turn_on
data:
entity_id: light.flux_living_room_lamp
effect: random
```