Merge pull request #200 from R1chardTM/patch-1

Fix automation script in cookbook
This commit is contained in:
Paulus Schoutsen 2016-02-08 18:37:44 -08:00
commit 5b0f26825d

View File

@ -25,17 +25,16 @@ automation:
# Changes Hue light every two minutes to random color if input boolean is set to on # Changes Hue light every two minutes to random color if input boolean is set to on
- alias: 'Set LivingColors to random color' - alias: 'Set LivingColors to random color'
trigger: trigger:
- platform: time platform: time
minutes: '/2' minutes: '/2'
seconds: 0 seconds: 0
condition: condition:
- platform: input_boolean platform: state
entity_id: input_boolean.loop_livingcolors entity_id: input_boolean.loop_livingcolors
state: on state: 'on'
action: action:
service: light.turn_on service: light.turn_on
entity_id: entity_id: light.woonkamer_livingcolors
- light.woonkamer_livingcolors
data: data:
effect: random effect: random
transition: 5 transition: 5