Compare commits
2 commits
5b5a10ed44
...
fe023d0c7c
Author | SHA1 | Date | |
---|---|---|---|
fe023d0c7c | |||
249f8dcf5f |
1 changed files with 2 additions and 4 deletions
|
@ -553,7 +553,7 @@ class C4Room: # {{{1
|
||||||
print("[{}]".format(self.name))
|
print("[{}]".format(self.name))
|
||||||
print("Please enter 0 or 1 for every light:")
|
print("Please enter 0 or 1 for every light:")
|
||||||
for level in range(len(self.switches)):
|
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()
|
switch_state = self.get_switch_state()
|
||||||
print(switch_state) # Present current state.
|
print(switch_state) # Present current state.
|
||||||
|
@ -745,13 +745,11 @@ class Wohnzimmer(C4Room): # {{{1
|
||||||
switches = (
|
switches = (
|
||||||
("Stehlampen", "licht/wohnzimmer/stehlampen"),
|
("Stehlampen", "licht/wohnzimmer/stehlampen"),
|
||||||
("Wandlampe", "licht/wohnzimmer/wandlampe"),
|
("Wandlampe", "licht/wohnzimmer/wandlampe"),
|
||||||
|
("Infoscreen", "screen/wohnzimmer/infoscreen"),
|
||||||
("Tür", "licht/wohnzimmer/tuer"),
|
("Tür", "licht/wohnzimmer/tuer"),
|
||||||
("Mitte", "licht/wohnzimmer/mitte"),
|
("Mitte", "licht/wohnzimmer/mitte"),
|
||||||
("Flur", "licht/wohnzimmer/gang"),
|
("Flur", "licht/wohnzimmer/gang"),
|
||||||
("Küche", "licht/wohnzimmer/kueche"),
|
("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")
|
master = Dmx7("dmx/wohnzimmer/master")
|
||||||
lights = (
|
lights = (
|
||||||
|
|
Loading…
Add table
Reference in a new issue