Skip to content

Commit

Permalink
Fixed brightness 0
Browse files Browse the repository at this point in the history
  • Loading branch information
Glennmen authored Oct 15, 2024
1 parent 12dd94a commit 9661572
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ha-scenes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ variables:
{% endif %}
brightness_value: |-
{% if use_scene_brightness %}
{{ scenes[scene_name].b*100 }}
{{ (scenes[scene_name].b*100)|round(0, 'ceil') }}
{% elif brightness %}
{{ brightness }}
{% else %}
Expand Down Expand Up @@ -839,4 +839,4 @@ sequence:
else:
- if: "{{ repeat_delay.hours > 0 or repeat_delay.minutes > 0 or repeat_delay.seconds > 0 }}"
then:
- delay: "{{ repeat_delay }}"
- delay: "{{ repeat_delay }}"

0 comments on commit 9661572

Please sign in to comment.