Tweak brightness levels for stairwell LED strip, close #95

This commit is contained in:
2023-08-14 13:52:03 -04:00
parent 4d7cd8e576
commit 6d41755dfe
2 changed files with 5 additions and 3 deletions

View File

@ -1195,8 +1195,10 @@ script:
data: data:
color_temp_kelvin: 2000 color_temp_kelvin: 2000
brightness: > brightness: >
{% if is_state('input_boolean.give_me_darkness','on') %} {% if is_state('input_boolean.goodnight','on') %}
50 50
{% elif is_state('input_boolean.give_me_darkness','on') %}
100
{% else %} {% else %}
150 150
{% endif %} {% endif %}
@ -1599,7 +1601,7 @@ script:
entity_id: light.stairwell_led_strip entity_id: light.stairwell_led_strip
data: data:
color_temp_kelvin: 2000 color_temp_kelvin: 2000
brightness: 50 brightness: 100
- service: input_select.select_option - service: input_select.select_option
target: target:
entity_id: entity_id:

View File

@ -250,7 +250,7 @@ going_upstairs:
- service: light.turn_on - service: light.turn_on
data: data:
kelvin: 2000 kelvin: 2000
brightness: 150 brightness: 200
target: target:
entity_id: light.stairwell_led_strip entity_id: light.stairwell_led_strip
alias: Turn up the stairwell LED strip alias: Turn up the stairwell LED strip