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

miflora - fix for exception handling bug #12149

Merged
merged 4 commits into from
Feb 9, 2018

Conversation

ChristianKuehnel
Copy link
Contributor

@ChristianKuehnel ChristianKuehnel commented Feb 3, 2018

Description:

With the release of miflora 0.2 there were two bugs in the exception handling. These are fixed in a development branch of miflora now. This PR pulls in this development branch and also handles the new exception type.

Once a the new release of miflora is out, we can switch back to the official releases: basnijholt/miflora#83

Related issue (if applicable): fixes #11815 #9048

Checklist:

  • The code change is tested and works locally.

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

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

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • New dependencies have been added to the REQUIREMENTS variable (example).
  • New dependencies are only imported inside functions that use them (example).
  • New 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:

  • Local tests with tox run successfully. Your PR cannot be merged unless tests pass
  • Tests have been added to verify that the new code works.

@Danielhiversen
Copy link
Member

Why not use the pypi version?

@ChristianKuehnel
Copy link
Contributor Author

The version 0.2.0 of miflora on pypi does not yet include the bug fixes. And I do not have the permissions to create a new release.

@Danielhiversen
Copy link
Member

Have you proposed a new release in the miflora library?

@ChristianKuehnel
Copy link
Contributor Author

yes: basnijholt/miflora#83

@Danielhiversen
Copy link
Member

Then we should wait for a new release

@balloob balloob added the waiting-for-upstream We're waiting for a change upstream label Feb 8, 2018
@balloob
Copy link
Member

balloob commented Feb 8, 2018

Linking requirements to GitHub is not allowed anymore. We will have to wait for a release. We're working on writing this down in an official policy

@ChristianKuehnel
Copy link
Contributor Author

Miflora version 0.3 is out. I'll update this PR on the weekend...

@Danielhiversen Danielhiversen merged commit 2014e42 into home-assistant:dev Feb 9, 2018
@ChristianKuehnel ChristianKuehnel deleted the plant_exception branch February 9, 2018 22:21
@balloob balloob mentioned this pull request Feb 9, 2018
@home-assistant home-assistant locked and limited conversation to collaborators May 29, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

miflora component issue.
4 participants