mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 13:15:18 +02:00
Test always catching exceptions
This commit is contained in:
@@ -70,8 +70,6 @@ def setup(hass, config, retry_delay=FIRST_RETRY_TIME):
|
||||
try:
|
||||
tuya.init(username, password, country_code, platform)
|
||||
except RequestsConnectionError as ex:
|
||||
if "NewConnectionError" not in str(ex):
|
||||
raise ex
|
||||
|
||||
_LOGGER.warning(
|
||||
"Connection error during integration setup. Will retry in %s seconds",
|
||||
|
Reference in New Issue
Block a user