black
and isort
everything
This commit is contained in:
parent
bb2ce5c8f4
commit
4481177ec6
7 changed files with 32 additions and 24 deletions
|
@ -2,6 +2,7 @@ import logging
|
|||
|
||||
LOG = logging.getLogger('DMX')
|
||||
|
||||
|
||||
class BaseDMXLight:
|
||||
def __init__(self, address):
|
||||
self.address = address
|
||||
|
|
|
@ -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
|
||||
]
|
||||
|
|
|
@ -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
|
||||
]
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
from .common import BaseDMXLight
|
||||
|
||||
|
||||
class WLED(BaseDMXLight):
|
||||
name = "WLED"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue