Skip to content

Commit 34ec611

Browse files
committed
Fix for RPC
1 parent 558878f commit 34ec611

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
with open(path.join(this_directory, 'README.md')) as f:
2222
long_description = f.read()
2323

24-
VERSION = "1.8.3"
24+
VERSION = "1.8.4"
2525

2626
setup(
2727
version=VERSION,

tb_gateway_mqtt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def gw_send_rpc_reply(self, device, req_id, resp, quality_of_service=None):
198198
if quality_of_service not in (0, 1):
199199
log.error("Quality of service (qos) value must be 0 or 1")
200200
return None
201-
info = self._publish_data({device: {"id": req_id, "data": resp}}, GATEWAY_RPC_RESPONSE_TOPIC,
201+
info = self._publish_data({"device": device, "id": req_id, "data": resp}, GATEWAY_RPC_TOPIC,
202202
quality_of_service)
203203
return info
204204

0 commit comments

Comments
 (0)