From 6fedad7890b8f043b49b5ee22f52b059514c43cd Mon Sep 17 00:00:00 2001 From: Lukas Barth Date: Sat, 12 May 2018 10:30:21 +0200 Subject: [PATCH 1/2] Fix waiting for setup that never happens (#14346) --- homeassistant/components/matrix.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/homeassistant/components/matrix.py b/homeassistant/components/matrix.py index 569b012b484..b2805c994e8 100644 --- a/homeassistant/components/matrix.py +++ b/homeassistant/components/matrix.py @@ -114,9 +114,6 @@ class MatrixBot(object): self._listening_rooms = listening_rooms - # Logging in is deferred b/c it does I/O - self._setup_done = False - # We have to fetch the aliases for every room to make sure we don't # join it twice by accident. However, fetching aliases is costly, # so we only do it once per room. @@ -343,9 +340,5 @@ class MatrixBot(object): def handle_send_message(self, service): """Handle the send_message service.""" - if not self._setup_done: - _LOGGER.warning("Could not send message: setup is not done!") - return - self._send_message(service.data[ATTR_MESSAGE], service.data[ATTR_TARGET]) From d17186a8b708170ed4e5727a8c28d1264c8b146b Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 12 May 2018 09:34:28 -0400 Subject: [PATCH 2/2] Version bump to 0.69.1 --- homeassistant/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/const.py b/homeassistant/const.py index 0f319891649..8de8922e4e0 100644 --- a/homeassistant/const.py +++ b/homeassistant/const.py @@ -2,7 +2,7 @@ """Constants used by Home Assistant components.""" MAJOR_VERSION = 0 MINOR_VERSION = 69 -PATCH_VERSION = '0' +PATCH_VERSION = '1' __short_version__ = '{}.{}'.format(MAJOR_VERSION, MINOR_VERSION) __version__ = '{}.{}'.format(__short_version__, PATCH_VERSION) REQUIRED_PYTHON_VER = (3, 5, 3)