Skip to content
This repository was archived by the owner on Oct 20, 2024. It is now read-only.

Commit 6c12d03

Browse files
committed
mqtt message qos fix
1 parent 3012650 commit 6c12d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lirc_watcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def send_code(priority_data=None):
7373
topic = "%s/%s/%s" % (MQTT_PREFIX, remote, key_name)
7474
print("Sending message: '%s' to topic: '%s'" %
7575
(payload, topic))
76-
mqtt.publish(topic, payload)
76+
mqtt.publish(topic, payload=payload, qos=MQTT_QOS)
7777

7878
if priority_data is None:
7979
prev_data = None

0 commit comments

Comments
 (0)