Skip to content

Commit

Permalink
User User defined brightness on voice assistant effects (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpouffier authored Oct 14, 2024
1 parent 953576c commit 1dffb6b
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions home-assistant-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -849,6 +849,7 @@ light:
restore_mode: RESTORE_DEFAULT_OFF
initial_state:
color_mode: rgb
brightness: 66%
red: 9.4%
green: 73.3%
blue: 94.9%
Expand Down Expand Up @@ -1018,7 +1019,7 @@ script:
- id: control_leds_voice_assistant_waiting_for_command_phase
then:
- light.turn_on:
brightness: 100%
brightness: !lambda return id(led_ring).current_values.get_brightness();
id: voice_assistant_leds
effect: "Waiting for Command"

Expand All @@ -1027,7 +1028,7 @@ script:
- id: control_leds_voice_assistant_listening_for_command_phase
then:
- light.turn_on:
brightness: 100%
brightness: !lambda return id(led_ring).current_values.get_brightness();
id: voice_assistant_leds
effect: "Listening For Command"

Expand All @@ -1036,7 +1037,7 @@ script:
- id: control_leds_voice_assistant_thinking_phase
then:
- light.turn_on:
brightness: 100%
brightness: !lambda return id(led_ring).current_values.get_brightness();
id: voice_assistant_leds
effect: "Thinking"

Expand All @@ -1045,7 +1046,7 @@ script:
- id: control_leds_voice_assistant_replying_phase
then:
- light.turn_on:
brightness: 100%
brightness: !lambda return id(led_ring).current_values.get_brightness();
id: voice_assistant_leds
effect: "Replying"

Expand Down

0 comments on commit 1dffb6b

Please sign in to comment.