fix: turn on power_devices associated with screen on startup (#1556)

if the screen was off and KS restarted it would have remained off, this should fix this issue
This commit is contained in:
Alfredo Monclus authored and GitHub committed 2025-02-25 11:22:00 -03:00
1 parent 4eb7a475cb
commit 68fe1b0e0d
1 file changed
+1
+1
View File
@@ -1159,6 +1159,7 @@ class KlipperScreen(Gtk.Window):
self.ws_subscribe()
self.files.set_gcodes_path()
self.power_devices(None, self._config.get_main_config().get("screen_on_devices", ""), on=True)
logging.info("Printer initialized")
self.initialized = True