From 6e32df1ad04bd6f7031748686d94387cf6e278ec Mon Sep 17 00:00:00 2001 From: Alfredo Monclus Date: Tue, 23 Dec 2025 21:48:03 -0300 Subject: [PATCH] fix: dotstar not working fixes #1630 --- ks_includes/printer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ks_includes/printer.py b/ks_includes/printer.py index dc4d30ce..b5236764 100644 --- a/ks_includes/printer.py +++ b/ks_includes/printer.py @@ -278,13 +278,13 @@ class Printer: return self.config[led]["color_order"] colors = '' for option in self.config[led]: - if option in ("red_pin", 'initial_RED') and 'R' not in colors: + if option in ("red_pin", 'initial_red') and 'R' not in colors: colors += 'R' - elif option in ("green_pin", 'initial_GREEN') and 'G' not in colors: + elif option in ("green_pin", 'initial_green') and 'G' not in colors: colors += 'G' - elif option in ("blue_pin", 'initial_BLUE') and 'B' not in colors: + elif option in ("blue_pin", 'initial_blue') and 'B' not in colors: colors += 'B' - elif option in ("white_pin", 'initial_WHITE') and 'W' not in colors: + elif option in ("white_pin", 'initial_white') and 'W' not in colors: colors += 'W' logging.debug(f"Colors in led: {colors}") return colors