add heartbeat support to mysensors (#18359)
This commit is contained in:
parent
132bb7902a
commit
e75f9b36f9
2 changed files with 8 additions and 0 deletions
|
@ -45,6 +45,12 @@ async def handle_battery_level(hass, hass_config, msg):
|
|||
_handle_node_update(hass, msg)
|
||||
|
||||
|
||||
@HANDLERS.register('I_HEARTBEAT_RESPONSE')
|
||||
async def handle_heartbeat(hass, hass_config, msg):
|
||||
"""Handle an heartbeat."""
|
||||
_handle_node_update(hass, msg)
|
||||
|
||||
|
||||
@HANDLERS.register('I_SKETCH_NAME')
|
||||
async def handle_sketch_name(hass, hass_config, msg):
|
||||
"""Handle an internal sketch name message."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue