mqtt_client.py: build fix
This commit is contained in:
parent
eb10a069ac
commit
7c97f94908
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ class MqttClient:
|
||||||
print(f"Connected: {reason_code}")
|
print(f"Connected: {reason_code}")
|
||||||
|
|
||||||
client.subscribe(self.MQTT_COMMAND_TOPIC)
|
client.subscribe(self.MQTT_COMMAND_TOPIC)
|
||||||
self.mqtt_autodiscovery(client)
|
self.mqtt_autodiscovery()
|
||||||
|
|
||||||
def on_message(self, client, userdata, msg):
|
def on_message(self, client, userdata, msg):
|
||||||
payload = msg.payload.decode()
|
payload = msg.payload.decode()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue