From 6d41755dfe078ec802165e50bd6341346215ff21 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 14 Aug 2023 13:52:03 -0400 Subject: [PATCH] Tweak brightness levels for stairwell LED strip, close #95 --- packages/lighting_and_scenes.yaml | 6 ++++-- scripts.yaml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/packages/lighting_and_scenes.yaml b/packages/lighting_and_scenes.yaml index 766ffb6..c01c2f9 100644 --- a/packages/lighting_and_scenes.yaml +++ b/packages/lighting_and_scenes.yaml @@ -1195,8 +1195,10 @@ script: data: color_temp_kelvin: 2000 brightness: > - {% if is_state('input_boolean.give_me_darkness','on') %} + {% if is_state('input_boolean.goodnight','on') %} 50 + {% elif is_state('input_boolean.give_me_darkness','on') %} + 100 {% else %} 150 {% endif %} @@ -1599,7 +1601,7 @@ script: entity_id: light.stairwell_led_strip data: color_temp_kelvin: 2000 - brightness: 50 + brightness: 100 - service: input_select.select_option target: entity_id: diff --git a/scripts.yaml b/scripts.yaml index 56aba59..5d96f66 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -250,7 +250,7 @@ going_upstairs: - service: light.turn_on data: kelvin: 2000 - brightness: 150 + brightness: 200 target: entity_id: light.stairwell_led_strip alias: Turn up the stairwell LED strip