mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00:00
commit
9abc13aaa6
@ -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])
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user