[climate] Bugfix honeywell misleading error message (#25048)
* initial commit * refactor for sync * minor tweak * refactor convert code * fix regression * remove bad await * de-lint * de-lint 2 * improve error message * rebase * tweak * de-lint
This commit is contained in:
parent
98ba015f06
commit
a44686389c
1 changed files with 4 additions and 2 deletions
|
@ -88,8 +88,10 @@ def setup_platform(hass, config, add_entities, discovery_info=None):
|
|||
except somecomfort.AuthError:
|
||||
_LOGGER.error("Failed to login to honeywell account %s", username)
|
||||
return
|
||||
except somecomfort.SomeComfortError as ex:
|
||||
_LOGGER.error("Failed to initialize honeywell client: %s", str(ex))
|
||||
except somecomfort.SomeComfortError:
|
||||
_LOGGER.error("Failed to initialize the Honeywell client: "
|
||||
"Check your configuration (username, password), "
|
||||
"or maybe you have exceeded the API rate limit?")
|
||||
return
|
||||
|
||||
dev_id = config.get('thermostat')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue