Fix MQTT payload decode returning prematurely (#12420)
* Fix MQTT returning prematurely * Add test
This commit is contained in:
1 parent
c25c4c85d6
commit
5d4b1ecd3b
2 files changed
+12
-1
No files matched your search
@@ -607,7 +607,7 @@ class MQTT(object):
|
||||
"with encoding %s",
|
||||
msg.payload, msg.topic,
|
||||
subscription.encoding)
|
||||
return
|
||||
continue
|
||||
|
||||
self.hass.async_run_job(subscription.callback,
|
||||
msg.topic, payload, msg.qos)
|
||||
|
||||
Reference in new issue
Block a user