mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix apple tv untracked task (#88102)
This commit is contained in:
parent
f11ba1b7cb
commit
4b58800530
@ -222,7 +222,7 @@ class AppleTVManager:
|
||||
await self._connect(conf, raise_missing_credentials)
|
||||
except exceptions.AuthenticationError:
|
||||
self.config_entry.async_start_reauth(self.hass)
|
||||
asyncio.create_task(self.disconnect())
|
||||
await self.disconnect()
|
||||
_LOGGER.exception(
|
||||
"Authentication failed for %s, try reconfiguring device",
|
||||
self.config_entry.data[CONF_NAME],
|
||||
|
Loading…
x
Reference in New Issue
Block a user