OwnTracks: Handle lwt message (#9831)

* OwnTracks: Handle lwt message

* Update owntracks.py
This commit is contained in:
Paulus Schoutsen authored and GitHub committed 2017-10-12 08:25:18 -07:00
1 parent 5fcb0990c3
commit 3b5a9e7796
1 file changed
+7
@@ -399,6 +399,13 @@ def async_handle_encrypted_message(hass, context, message):
yield from async_handle_message(hass, context, decrypted)
@HANDLERS.register('lwt')
@asyncio.coroutine
def async_handle_lwt_message(hass, context, message):
"""Handle an lwt message."""
_LOGGER.debug('Not handling lwt message: %s', message)
@asyncio.coroutine
def async_handle_message(hass, context, message):
"""Handle an OwnTracks message."""