Fix off animation
This commit is contained in:
parent
efb7c20af5
commit
bbf862a0a2
|
@ -21,7 +21,7 @@ class Off(Animation):
|
||||||
super(Off, self).__init__()
|
super(Off, self).__init__()
|
||||||
|
|
||||||
def name(self):
|
def name(self):
|
||||||
return "Off"
|
return "off"
|
||||||
|
|
||||||
|
|
||||||
class Steady(Animation):
|
class Steady(Animation):
|
||||||
|
|
1
dmx.py
1
dmx.py
|
@ -135,6 +135,7 @@ class DMX:
|
||||||
# one frame black
|
# one frame black
|
||||||
self._animation = Steady((0, 0, 0))
|
self._animation = Steady((0, 0, 0))
|
||||||
self.update()
|
self.update()
|
||||||
|
self._animation = Off()
|
||||||
else:
|
else:
|
||||||
self.start()
|
self.start()
|
||||||
print(f"Animation: {animation}", file=sys.stderr)
|
print(f"Animation: {animation}", file=sys.stderr)
|
||||||
|
|
Loading…
Reference in a new issue