Provide a more useful error message in evohome (#42734)

pull/42753/head
David Bonnes 2020-11-02 13:53:22 +00:00 committed by GitHub
parent 8d9a844e84
commit a84dc14569
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -140,8 +140,8 @@ def _handle_exception(err) -> bool:
except evohomeasync2.AuthenticationError:
_LOGGER.error(
"Failed to authenticate with the vendor's server. "
"Check your network and the vendor's service status page. "
"Also check that your username and password are correct. "
"Check your username and password. NB: Some special password characters "
"that work correctly via the website will not work via the web API. "
"Message is: %s",
err,
)