mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 12:17:07 +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)
|
await self._connect(conf, raise_missing_credentials)
|
||||||
except exceptions.AuthenticationError:
|
except exceptions.AuthenticationError:
|
||||||
self.config_entry.async_start_reauth(self.hass)
|
self.config_entry.async_start_reauth(self.hass)
|
||||||
asyncio.create_task(self.disconnect())
|
await self.disconnect()
|
||||||
_LOGGER.exception(
|
_LOGGER.exception(
|
||||||
"Authentication failed for %s, try reconfiguring device",
|
"Authentication failed for %s, try reconfiguring device",
|
||||||
self.config_entry.data[CONF_NAME],
|
self.config_entry.data[CONF_NAME],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user