From ad2aac6d68bef7469d1b58713234bbbe4f57211e Mon Sep 17 00:00:00 2001 From: Anders Melchiorsen Date: Sun, 29 Oct 2017 01:29:36 +0200 Subject: [PATCH] Simplify light dimming during media play (#3776) --- .../dim_lights_when_playing_media.markdown | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/source/_cookbook/dim_lights_when_playing_media.markdown b/source/_cookbook/dim_lights_when_playing_media.markdown index e0b0859193d..e0c19c45d3b 100644 --- a/source/_cookbook/dim_lights_when_playing_media.markdown +++ b/source/_cookbook/dim_lights_when_playing_media.markdown @@ -12,7 +12,7 @@ ha_category: Automation Examples Like it how the lights dim up/down at the movies? Do it at home as well! -This example uses the [media player](https://home-assistant.io/components/media_player/), [Philips Hue](https://home-assistant.io/components/light.hue/) (transitions) and the [sun](https://home-assistant.io/components/sun/) component. We'll use actions to detect media player state changes and scenes to control multiple lights, color settings and transition between scenes. +This example uses the [media player](https://home-assistant.io/components/media_player/), [lights](https://home-assistant.io/components/light/) (transitions) and the [sun](https://home-assistant.io/components/sun/) component. We'll use actions to detect media player state changes and [scenes](https://home-assistant.io/components/scene/) to control multiple lights and transition between scenes. #### {% linkable_title Scenes %} One scene for normal light, one for when movies are on. A 2 second transition gives a nice 'feel' to the switch. @@ -24,25 +24,21 @@ scene: light.light1: state: on transition: 2 - brightness: 150 - xy_color: [ 0.4448, 0.4066 ] + brightness_pct: 60 light.light2: state: on transition: 2 - brightness: 215 - xy_color: [ 0.4448, 0.4066 ] + brightness_pct: 85 - name: Livingroom dim entities: light.light1: state: on transition: 2 - brightness: 75 - xy_color: [ 0.5926, 0.3814 ] + brightness_pct: 30 light.light2: state: on transition: 2 - brightness: 145 - xy_color: [ 0.5529, 0.4107 ] + brightness_pct: 55 ```