8000 Fix LIFX effects by amelchio · Pull Request #16309 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix LIFX effects #16309

8000
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

Merged
merged 1 commit into from
Aug 31, 2018
Merged

Fix LIFX effects #16309

merged 1 commit into from
Aug 31, 2018

Conversation

amelchio
Copy link
Contributor

Description:

The changes in #15980 broke LIFX effects by renaming the self.device attribute to self.light but unfortunately missing a light.device usage in a list comprehension.

This PR fixes that and consistently renames device/light to bulb to make it more clear that it is not a Light (but actually an aiolifx.Light).

I also added myself as code owner for LIFX so I can hopefully catch issues like this earlier.

Related issue (if applicable): fixes #16286

Checklist:

  • The code change is tested and works locally.
  • Local tests pass with tox. Your PR cannot be merged unless tests pass

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.

@pvizeli pvizeli merged commit b43c47c into home-assistant:dev Aug 31, 2018
@ghost ghost removed the in progress label Aug 31, 2018
balloob pushed a commit that referenced this pull request Aug 31, 2018
@balloob balloob mentioned this pull request Aug 31, 2018
girlpunk pushed a commit to girlpunk/home-assistant that referenced this pull request Sep 4, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Dec 10, 2018
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.

LIFX services result in 'LIFXColor' object has no attribute 'device'
4 participants
0