BugFix: RX current setpoint

This commit is contained in:
Dirk Alders 2023-12-15 19:58:54 +01:00
parent c913350d5f
commit 4fb01e2f93

View File

@ -90,6 +90,7 @@ class brennenstuhl_heatingvalve(base):
def __rx__(self, client, userdata, message):
payload = json.loads(message.payload)
if "current_heating_setpoint" in payload:
if message.topic == self.topic + '/set':
self.target("current_heating_setpoint", payload["current_heating_setpoint"])
if message.topic == self.topic: