Correct MQTT device trigger reconfiguration with same topic (#36234)

This commit is contained in:
Erik Montnemery authored and GitHub committed 2020-05-28 15:50:23 -07:00
1 parent 31250eafe8
commit f1af5b71e2
3 files changed
+70 -5

No files matched your search

@@ -887,6 +887,7 @@ class MQTT:
This method is a coroutine.
"""
_LOGGER.debug("Unsubscribing from %s", topic)
async with self._paho_lock:
result: int = None
result, _ = await self.hass.async_add_executor_job(