From bf2a595c611ed4d0a5d883eda99bbe25b9f2f13b Mon Sep 17 00:00:00 2001 From: Sebastian Date: Thu, 21 Mar 2019 23:24:27 +0100 Subject: [PATCH] Mode is now automatically set to 'manual'. --- heizberry.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/heizberry.py b/heizberry.py index 13d098d..c6744d2 100755 --- a/heizberry.py +++ b/heizberry.py @@ -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: