BugFix: RX current setpoint
This commit is contained in:
parent
c913350d5f
commit
4fb01e2f93
@ -90,6 +90,7 @@ class brennenstuhl_heatingvalve(base):
|
|||||||
|
|
||||||
def __rx__(self, client, userdata, message):
|
def __rx__(self, client, userdata, message):
|
||||||
payload = json.loads(message.payload)
|
payload = json.loads(message.payload)
|
||||||
|
if "current_heating_setpoint" in payload:
|
||||||
if message.topic == self.topic + '/set':
|
if message.topic == self.topic + '/set':
|
||||||
self.target("current_heating_setpoint", payload["current_heating_setpoint"])
|
self.target("current_heating_setpoint", payload["current_heating_setpoint"])
|
||||||
if message.topic == self.topic:
|
if message.topic == self.topic:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user