forked from Chaospott/Heizberry
Added Wohnzimmer
This commit is contained in:
parent
1aa07e8ff2
commit
6f4f1ee9fd
@ -18,17 +18,15 @@ class Zimmer:
|
||||
|
||||
|
||||
|
||||
zimmer = [Zimmer]
|
||||
zimmerName =["alexander"]
|
||||
zimmerAutomatic = [0]
|
||||
zimmerTemperaturSet = [0.0]
|
||||
zimmerStatusActual = [0]
|
||||
zimmer = [Zimmer, Zimmer]
|
||||
zimmerName =["alexander", "wohnzimmer"]
|
||||
|
||||
|
||||
for i in range(len(zimmer)):
|
||||
zimmer[i].name = zimmerName[i]
|
||||
zimmer[i].automatic = zimmerAutomatic[i]
|
||||
zimmer[i].temperaturSet = zimmerTemperaturSet[i]
|
||||
zimmer[i].statusActual = zimmerStatusActual[i]
|
||||
zimmer[i].automatic = 0
|
||||
zimmer[i].temperaturSet = 0.0
|
||||
zimmer[i].statusActual = 0
|
||||
|
||||
|
||||
def on_connect(client, userdata, flags, rc):
|
||||
|
@ -16,9 +16,9 @@ class Zimmer:
|
||||
thermostat = None
|
||||
|
||||
|
||||
zimmer = [Zimmer]
|
||||
zimmerName = ["alexander"]
|
||||
zimmerThermostat = [Thermostat('00:1A:22:16:4B:B4')]
|
||||
zimmer = [Zimmer, Zimmer]
|
||||
zimmerName = ["alexander", "wohnzimmer" ]
|
||||
zimmerThermostat = [Thermostat('00:1A:22:16:4B:B4'), Thermostat('00:1A:22:16:25:C3)]
|
||||
|
||||
for i in range(len(zimmer)):
|
||||
zimmer[i].name = zimmerName[i]
|
||||
|
Loading…
Reference in New Issue
Block a user