Fixed buggy implementation of RGBW LED strips.

This commit is contained in:
Shy 2024-04-20 18:51:02 +02:00
parent 2fe0b59fd2
commit ed79b6c64a

View file

@ -527,6 +527,13 @@ class Dmx7(Dmx): # {{{1
template = "000000000000ff" template = "000000000000ff"
# }}}1 # }}}1
class Rgbw(Dmx): # {{{1
""" Abstraction of 4 channel (RGBW) LED strips. """
# 3 bytes for color plus 1 byte for white.
template = "00000000"
# }}}1
class C4Room: # {{{1 class C4Room: # {{{1
""" Methods of rooms in the club. """ """ Methods of rooms in the club. """
@ -755,10 +762,10 @@ class Wohnzimmer(C4Room): # {{{1
Dmx7("dmx/wohnzimmer/mitte3"), Dmx7("dmx/wohnzimmer/mitte3"),
Dmx7("dmx/wohnzimmer/gang"), Dmx7("dmx/wohnzimmer/gang"),
Dmx7("dmx/wohnzimmer/baellebad"), Dmx7("dmx/wohnzimmer/baellebad"),
Dmx4("dmx/wohnzimmer/spuele1"), Rgbw("dmx/wohnzimmer/spuele1"),
Dmx("dmx/wohnzimmer/spuele2"), Dmx("dmx/wohnzimmer/spuele2"),
Dmx4("dmx/wohnzimmer/tresen"), Rgbw("dmx/wohnzimmer/tresen"),
Dmx4("dmx/wohnzimmer/tresen2"), Rgbw("dmx/wohnzimmer/tresen2"),
Dmx("dmx/wohnzimmer/chaosknoten") Dmx("dmx/wohnzimmer/chaosknoten")
) )
# }}}1 # }}}1