switch off lights prior to stopping sacn worker

This commit is contained in:
Franzi 2025-01-31 16:36:38 +01:00
parent 2e97ec8570
commit 3ac562f0b7
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -51,6 +51,8 @@ class DMXQueue:
self.log.info("Waiting for worker to terminate ...")
self.worker_should_be_running = False
self.worker.join()
self._update_all(0, 0, 0, 0, 0)
sleep(0.5)
self.sacn.stop()
def _dmx(self, addr, data):