MQTT backend should call on_message instead of posting directly to the bus
This commit is contained in:
parent
d215410a6a
commit
65ec2458d8
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ class MqttBackend(Backend):
|
|||
except: pass
|
||||
|
||||
self.logger.info('Received message on the MQTT backend: {}'.format(msg))
|
||||
self.bus.post(msg)
|
||||
self.on_message(msg)
|
||||
|
||||
super().run()
|
||||
client = mqtt.Client()
|
||||
|
|
Loading…
Reference in a new issue