mirror of
https://github.com/home-assistant/core.git
synced 2026-09-03 18:24:49 -05:00
Fix ESPHome deep sleep devices staying unavailable after unexpected disconnect (#96354)
backport of #96353
This commit is contained in:
@@ -388,6 +388,7 @@ async def async_setup_entry( # noqa: C901
|
||||
assert cli.api_version is not None
|
||||
entry_data.api_version = cli.api_version
|
||||
entry_data.available = True
|
||||
entry_data.expected_disconnect = True
|
||||
if entry_data.device_info.name:
|
||||
reconnect_logic.name = entry_data.device_info.name
|
||||
|
||||
|
||||
Reference in New Issue
Block a user