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

Add Yeelight auto discovery, color temp #5145

Merged
merged 2 commits into from
Jan 5, 2017
Merged

Conversation

jjensn
Copy link
Contributor

@jjensn jjensn commented Jan 2, 2017

Description:

  • Adds auto discovery support for Yeelight bulbs
  • Adds color temperature functionality

Related issue (if applicable):

Checklist:

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.
  • New dependencies are only imported inside functions that use them.
  • 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.

@mention-bot
Copy link

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


# Update CT value
self._ct = int(self._bulb.get_property(
self._bulb.PROPERTY_NAME_COLOR_TEMPERATURE))

Choose a reason for hiding this comment

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

no newline at end of file

@jjensn
Copy link
Contributor Author

jjensn commented Jan 2, 2017

  • Adding home-assistant support for the pending merge of Yeelight support home-assistant-libs/netdisco#77 -- we're waiting on linting issues to be fixed from the author. No documentation changes yet as the netdisco functionality isn't there.
  • Add support for color temperature functionality

@jjensn
Copy link
Contributor Author

jjensn commented Jan 2, 2017

I've submitted a PR for the netdisco repo with the required linting fixes (credit to @rytilahti)

home-assistant-libs/netdisco#81

@balloob balloob merged commit c959637 into home-assistant:dev Jan 5, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Apr 30, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants