Skip to content

Commit

Permalink
Added empty handler for /bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
Luligu committed Jun 20, 2024
1 parent 6418322 commit 85bdb44
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/zigbee2mqtt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -796,9 +796,15 @@ export class Zigbee2MQTT extends EventEmitter {
// const data = JSON.parse(payload.toString());
// this.log.debug('classZigbee2MQTT=>Message bridge/logging', data);
} else if (topic.startsWith(this.mqttTopic + '/bridge/config')) {
this.log.debug(`Message topic: ${topic}`);
// const data = JSON.parse(payload.toString());
// this.log.debug('classZigbee2MQTT=>Message bridge/config', data);
} else if (topic.startsWith(this.mqttTopic + '/bridge/definitions')) {
this.log.debug(`Message topic: ${topic}`);
// const data = JSON.parse(payload.toString());
// this.log.debug('classZigbee2MQTT=>Message bridge/definitions', data);
} else if (topic.startsWith(this.mqttTopic + '/bridge')) {
this.log.debug(`Message topic: ${topic}`);
// const data = JSON.parse(payload.toString());
// this.log.debug('classZigbee2MQTT=>Message bridge/definitions', data);
} else {
Expand Down

0 comments on commit 85bdb44

Please sign in to comment.