mirror of
https://github.com/c3e/Heizberry.git
synced 2024-04-01 15:11:26 +00:00
Mode is now automatically set to 'manual'.
This commit is contained in:
parent
c5e2cdc70c
commit
bf2a595c61
@ -37,6 +37,7 @@ def on_message(client, userdata, message):
|
||||
|
||||
# Baellebad
|
||||
if (message.topic == "foobar/oben/baellebad/heizung/action"):
|
||||
thermostatBallpit.mode="manual"
|
||||
if (msg == "on"):
|
||||
thermostatBallpit.target_temperature=temperature_on
|
||||
else:
|
||||
@ -47,6 +48,7 @@ def on_message(client, userdata, message):
|
||||
|
||||
# Cantina
|
||||
if (message.topic == "foobar/oben/cantina/heizung/action"):
|
||||
thermostatCantina.mode="manual"
|
||||
if (msg == "on"):
|
||||
thermostatCantina.target_temperature=temperature_on
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user