mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Homekit controller reconnect (#17060)
* Add threaded call_later helper * Reconnect to device when connection fails * Consolidate connection logs and warn on first
This commit is contained in:
committed by
Paulus Schoutsen
parent
6a0c9a718e
commit
3abdf217bb
@@ -227,6 +227,10 @@ def async_call_later(hass, delay, action):
|
||||
hass, action, dt_util.utcnow() + timedelta(seconds=delay))
|
||||
|
||||
|
||||
call_later = threaded_listener_factory(
|
||||
async_call_later)
|
||||
|
||||
|
||||
@callback
|
||||
@bind_hass
|
||||
def async_track_time_interval(hass, action, interval):
|
||||
|
||||
Reference in New Issue
Block a user