Compare commits
No commits in common. "fe023d0c7ca03f778cf585aa8041fe0e71d198eb" and "5b5a10ed4456205fb5a2d21440ec92a48a0e85c5" have entirely different histories.
fe023d0c7c
...
5b5a10ed44
1 changed files with 4 additions and 2 deletions
|
@ -553,7 +553,7 @@ class C4Room: # {{{1
|
|||
print("[{}]".format(self.name))
|
||||
print("Please enter 0 or 1 for every light:")
|
||||
for level in range(len(self.switches)):
|
||||
print((level * '|') + "+ " + self.switches[level][0])
|
||||
print((level * '|') + ",- " + self.switches[level][0])
|
||||
|
||||
switch_state = self.get_switch_state()
|
||||
print(switch_state) # Present current state.
|
||||
|
@ -745,11 +745,13 @@ class Wohnzimmer(C4Room): # {{{1
|
|||
switches = (
|
||||
("Stehlampen", "licht/wohnzimmer/stehlampen"),
|
||||
("Wandlampe", "licht/wohnzimmer/wandlampe"),
|
||||
("Infoscreen", "screen/wohnzimmer/infoscreen"),
|
||||
("Tür", "licht/wohnzimmer/tuer"),
|
||||
("Mitte", "licht/wohnzimmer/mitte"),
|
||||
("Flur", "licht/wohnzimmer/gang"),
|
||||
("Küche", "licht/wohnzimmer/kueche"),
|
||||
("Leseleuchte", "socket/wohnzimmer/screen/a"),
|
||||
("Infoscreen", "screen/wohnzimmer/infoscreen"),
|
||||
#("Verstärker", "socket/wohnzimmer/screen/b")
|
||||
)
|
||||
master = Dmx7("dmx/wohnzimmer/master")
|
||||
lights = (
|
||||
|
|
Loading…
Add table
Reference in a new issue