black and isort everything

This commit is contained in:
Franzi 2023-08-07 14:48:18 +02:00
parent bb2ce5c8f4
commit 4481177ec6
Signed by: kunsi
GPG key ID: 12E3D2136B818350
7 changed files with 32 additions and 24 deletions

View file

@ -2,6 +2,7 @@ import logging
LOG = logging.getLogger('DMX')
class BaseDMXLight:
def __init__(self, address):
self.address = address

View file

@ -1,5 +1,6 @@
from .common import BaseDMXLight
class IgnitionWALL710(BaseDMXLight):
name = "Ignition WAL-L710 PAR"
@ -10,5 +11,5 @@ class IgnitionWALL710(BaseDMXLight):
self.green,
self.blue,
self.white,
0, # program
0, # program
]

View file

@ -1,23 +1,24 @@
from .common import BaseDMXLight
class VarytecHeroWashZoom712(BaseDMXLight):
name = "Varytec Hero Wash 712 Z RGBW Zoom"
def _dump(self):
return self.address, [
128, # pan
128, # pan fine
128, # tilt
128, # tilt fine
0, # speed
128, # pan
128, # pan fine
128, # tilt
128, # tilt fine
0, # speed
self.intensity,
0, # shutter
0, # shutter
self.red,
self.green,
self.blue,
self.white,
0, # colortemp
0, # color macro
0, # zoom
0, # auto run
0, # colortemp
0, # color macro
0, # zoom
0, # auto run
]

View file

@ -1,5 +1,6 @@
from .common import BaseDMXLight
class WLED(BaseDMXLight):
name = "WLED"