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

Move I/O outside of properties for light/tplink platform #8699

Merged
merged 5 commits into from
Jul 30, 2017
Merged

Move I/O outside of properties for light/tplink platform #8699

merged 5 commits into from
Jul 30, 2017

Conversation

gollo
Copy link
Contributor

@gollo gollo commented Jul 29, 2017

Description:

Platform reporting too long getting properties as described in https://goo.gl/Nvioub.
Moved the offending I/O into the update function.

Checklist:

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.

@mention-bot
Copy link

@gollo, thanks for your PR! By analyzing the history of the files in this pull request, we identified @balloob, @fabaff and @robbiet480 to be potential reviewers.

@balloob
Copy link
Member

balloob commented Jul 30, 2017

Thanks! 🐬

@balloob balloob added this to the 0.50.2 milestone Jul 30, 2017
@balloob balloob merged commit 431a381 into home-assistant:dev Jul 30, 2017
@balloob
Copy link
Member

balloob commented Jul 30, 2017

For your next PR, please start a new branch forked off the dev branch.

@gollo
Copy link
Contributor Author

gollo commented Jul 30, 2017

Okay, will do. Sorry about that.

balloob pushed a commit that referenced this pull request Jul 31, 2017
* Add new component for TPLink light bulbs.

* Update with result of gen_requirements_all.

* Add new component light.tplink.

* Move I/O outside of properties as per https://goo.gl/Nvioub.
@balloob balloob mentioned this pull request Jul 31, 2017
dethpickle pushed a commit to dethpickle/home-assistant that referenced this pull request Aug 18, 2017
…ant#8699)

* Add new component for TPLink light bulbs.

* Update with result of gen_requirements_all.

* Add new component light.tplink.

* Move I/O outside of properties as per https://goo.gl/Nvioub.
@home-assistant home-assistant locked and limited conversation to collaborators Dec 11, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants