From 9313ae047affb1be23727bfa7043738ecdf7b9c0 Mon Sep 17 00:00:00 2001 From: Daniele Verducci Date: Thu, 9 Apr 2026 11:10:21 +0200 Subject: [PATCH] Fixed bug on light after battery low notification --- hexagon.yaml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/hexagon.yaml b/hexagon.yaml index 23d03a6..b9d8b99 100644 --- a/hexagon.yaml +++ b/hexagon.yaml @@ -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 ----