Fixed bug on light after battery low notification

This commit is contained in:
2026-04-09 11:10:21 +02:00
parent d25b6ccb6c
commit 9313ae047a

View File

@@ -139,13 +139,17 @@ light:
rtttl:
output: speaker
on_finished_playback:
# - script.execute: game_ready_animation
- script.execute:
id: set_section_color
section: !lambda return id(game_selected_section);
r: 1.0
g: 1.0
b: 1.0
if:
condition:
not:
- script.is_running: battery_low
then:
- script.execute:
id: set_section_color
section: !lambda return id(game_selected_section);
r: 1.0
g: 1.0
b: 1.0
# ---- Scripts ----