Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve evohome exception handling and fix bugs #22140

Merged
merged 46 commits into from
Apr 2, 2019
Merged

Improve evohome exception handling and fix bugs #22140

merged 46 commits into from
Apr 2, 2019

Conversation

zxdavb
Copy link
Contributor

@zxdavb zxdavb commented Mar 17, 2019

Breaking Change:

No breaking changes I am aware of.

Description:

  1. Upgrade to the latest client library (improved exception handling, support for reusing sessions/tokens) - this needed a minor update to climate\honeywell.py.

  2. Improve exception handling: widen number of exceptions caught, improve log messages.

  3. BUGFIX: Fix issue Coding error in evohome - call service climate/turn_on fails #22097: Failed to call service climate/turn_on...

  4. BUGFIX: handle case where a Zone doesn't have a temperature

  5. BUGFIX: missing exception handler, and removed inappropriate delint hints

  6. Use less aggressive throttling when the API rate limit has been exceeded

Related issue (if applicable): fixes #22097

Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>

Example entry for configuration.yaml (if applicable):

Not applicable

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.

If user exposed functionality or configuration variables are added/changed: Not applicable

If the code communicates with devices, web services, or third-party tools:

  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New or updated dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
  • New files were added to .coveragerc.

If the code does not interact with devices: Not applicable

@fabaff fabaff changed the title Improved exception handling, and Bugfixes Improved exception handling and bugfixes Mar 19, 2019
@zxdavb zxdavb changed the title WIP: Improve evohome exception handling and fix bugs Improved exception handling and bugfixes Mar 28, 2019
@zxdavb zxdavb changed the title Improved exception handling and bugfixes Improve exception handling and bugfixes Mar 28, 2019
@zxdavb zxdavb changed the title Improve exception handling and bugfixes Improve evohome exception handling and fix bugs Mar 28, 2019
@zxdavb
Copy link
Contributor Author

zxdavb commented Mar 28, 2019

Sorry @MartinHjelmare, my undoing of your edit was just a cross-post.

@zxdavb
Copy link
Contributor Author

zxdavb commented Apr 2, 2019

@MartinHjelmare Do you have time to look at this please?

@codecov

This comment has been minimized.

@codecov

This comment has been minimized.

Copy link
Member

@MartinHjelmare MartinHjelmare left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good!

@MartinHjelmare
Copy link
Member

Can be merged when build passes.

@zxdavb
Copy link
Contributor Author

zxdavb commented Apr 2, 2019

Can be merged when build passes.

Thanks Martin - I always have a sense of great achievement when I get something past you! 😄

@zxdavb
Copy link
Contributor Author

zxdavb commented Apr 2, 2019

@MartinHjelmare Merge please?

@MartinHjelmare MartinHjelmare merged commit 3bd37d6 into home-assistant:dev Apr 2, 2019
@ghost ghost removed the in progress label Apr 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Coding error in evohome - call service climate/turn_on fails
5 participants