OwnTracks: Handle lwt message (#9831)
* OwnTracks: Handle lwt message * Update owntracks.py
This commit is contained in:
parent
5fcb0990c3
commit
3b5a9e7796
1 changed files with 7 additions and 0 deletions
|
@ -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."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue