mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 06:12:23 +00:00
chore: Update dependencies (#18459)
* fix(ignore): update dependencies * Make compatible with MQTT 5 * updates --------- Co-authored-by: Koenkk <Koenkk@users.noreply.github.com>
This commit is contained in:
1 parent
a892a1b898
commit
53cb42103c
7 files changed
+1038
-949
No files matched your search
@@ -124,7 +124,7 @@ export default class Frontend extends Extension {
|
||||
if (!isBinary && data) {
|
||||
const message = data.toString();
|
||||
const {topic, payload} = JSON.parse(message);
|
||||
this.mqtt.onMessage(`${this.mqttBaseTopic}/${topic}`, stringify(payload));
|
||||
this.mqtt.onMessage(`${this.mqttBaseTopic}/${topic}`, Buffer.from(stringify(payload)));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user