From a44686389c443269d3eaf04d2c0eb74aa3768437 Mon Sep 17 00:00:00 2001 From: David Bonnes Date: Wed, 10 Jul 2019 16:38:31 +0100 Subject: [PATCH] [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 --- homeassistant/components/honeywell/climate.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index d94a541294e..78420c98dee 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -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')