Fixed bug on light after battery low notification
This commit is contained in:
18
hexagon.yaml
18
hexagon.yaml
@@ -139,13 +139,17 @@ light:
|
|||||||
rtttl:
|
rtttl:
|
||||||
output: speaker
|
output: speaker
|
||||||
on_finished_playback:
|
on_finished_playback:
|
||||||
# - script.execute: game_ready_animation
|
if:
|
||||||
- script.execute:
|
condition:
|
||||||
id: set_section_color
|
not:
|
||||||
section: !lambda return id(game_selected_section);
|
- script.is_running: battery_low
|
||||||
r: 1.0
|
then:
|
||||||
g: 1.0
|
- script.execute:
|
||||||
b: 1.0
|
id: set_section_color
|
||||||
|
section: !lambda return id(game_selected_section);
|
||||||
|
r: 1.0
|
||||||
|
g: 1.0
|
||||||
|
b: 1.0
|
||||||
|
|
||||||
|
|
||||||
# ---- Scripts ----
|
# ---- Scripts ----
|
||||||
|
|||||||
Reference in New Issue
Block a user