mirror of
https://github.com/home-assistant/core
synced 2024-09-06 10:29:55 +02:00
[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
@ -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…
Reference in New Issue
Block a user