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 tolerance of SmartThings Climate platform #21383

Conversation

andrewsayre
Copy link
Member

Description:

This change improves the tolerance in the SmartThings climate platform for custom device type handlers that do not properly implement the thermostat capability. This will allow the entities to load, but have partial functionality, compared to logging an error today, providing a better user experience until the root cause of the buggy device type handlers can be resolved.

Related issue (if applicable): fixes #21298

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 the code does not interact with devices:

  • Tests have been added and updated to verify that the new code works.

@andrewsayre andrewsayre force-pushed the fix-smartthings-climate-dth-tolerance branch from f23e2ed to 5b3987c Compare February 24, 2019 13:47
@andrewsayre
Copy link
Member Author

Test failure is an unrelated flaky test. Merging.

@andrewsayre andrewsayre merged commit 04fc951 into home-assistant:dev Feb 24, 2019
@ghost ghost removed the in progress label Feb 24, 2019
@andrewsayre andrewsayre deleted the fix-smartthings-climate-dth-tolerance branch February 24, 2019 16:46
balloob pushed a commit that referenced this pull request Feb 27, 2019
* Improve resilience of platform with buggy handlers

* Eliminate possibility of None in operation list

* Refactor variable name
@balloob balloob mentioned this pull request Feb 27, 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.

Smarthing climate integration not working with Tado
4 participants