mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-12-24 12:29:08 +00:00
Use checkonline instead of version for online check (#3700)
This commit is contained in:
@@ -248,7 +248,7 @@ class Supervisor(CoreSysAttributes):
|
||||
timeout = aiohttp.ClientTimeout(total=10)
|
||||
try:
|
||||
await self.sys_websession.head(
|
||||
"https://version.home-assistant.io/online.txt", timeout=timeout
|
||||
"https://checkonline.home-assistant.io/online.txt", timeout=timeout
|
||||
)
|
||||
except (ClientError, asyncio.TimeoutError):
|
||||
self.connectivity = False
|
||||
|
||||
Reference in New Issue
Block a user