mirror of
https://github.com/home-assistant/core.git
synced 2025-07-21 20:27:08 +00:00
Fix checking of upgrade API availability during setup of Synology DSM integration (#79435)
This commit is contained in:
parent
dac60990ee
commit
a3cd03b70b
@ -110,7 +110,7 @@ class SynoApi:
|
||||
# check if upgrade is available
|
||||
try:
|
||||
self.dsm.upgrade.update()
|
||||
except SynologyDSMAPIErrorException as ex:
|
||||
except SYNOLOGY_CONNECTION_EXCEPTIONS as ex:
|
||||
self._with_upgrade = False
|
||||
self.dsm.reset(SynoCoreUpgrade.API_KEY)
|
||||
LOGGER.debug("Disabled fetching upgrade data during setup: %s", ex)
|
||||
|
Loading…
x
Reference in New Issue
Block a user