mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 04:07:08 +00:00
OwnTracks: Handle lwt message (#9831)
* OwnTracks: Handle lwt message * Update owntracks.py
This commit is contained in:
parent
5fcb0990c3
commit
3b5a9e7796
@ -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…
x
Reference in New Issue
Block a user