Skip to content

Commit

Permalink
A new timer tick animation (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlpouffier authored Oct 25, 2024
1 parent 79b6c39 commit 62137bb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion home-assistant-voice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,14 @@ light:
it[i] = Color::BLACK;
}
}
if (id(master_mute_switch).state) {
it[2] = Color::BLACK;
it[3] = muted_color;
it[4] = Color::BLACK;
it[8] = Color::BLACK;
it[9] = muted_color;
it[10] = Color::BLACK;
}
id(global_led_animation_index) = (12 + id(global_led_animation_index) - 1) % 12;
- addressable_rainbow:
name: "Rainbow"
Expand Down Expand Up @@ -1140,7 +1148,7 @@ script:
effect: "Timer Ring"

# Script executed when the timer is ticking, to control the LEDs
# The LED ring blinks.
# The LEDs shows the remaining time as a fraction of the full ring.
- id: control_leds_timer_ticking
then:
- light.turn_on:
Expand Down

0 comments on commit 62137bb

Please sign in to comment.