Skip to content

Whitelist yeelight predefined effects per device type#24544

Merged
rytilahti merged 2 commits into
home-assistant:devfrom
zewelor:whitelist_yeelight_predefined_effects_per_device_type_redux
Jun 16, 2019
Merged

Whitelist yeelight predefined effects per device type#24544
rytilahti merged 2 commits into
home-assistant:devfrom
zewelor:whitelist_yeelight_predefined_effects_per_device_type_redux

Conversation

@zewelor
Copy link
Copy Markdown
Contributor

@zewelor zewelor commented Jun 15, 2019

Description:

Whitelist effects that are really supported by different devices. For example ceiling lights ( except ambilight ceiling ) can support temp and brightness only effects.

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.
  • I have followed the [development checklist][dev-checklist]

@ghost
Copy link
Copy Markdown

ghost commented Jun 15, 2019

Hey there @rytilahti, mind taking a look at this pull request as its been labeled with a integration (yeelight) you are listed as a codeowner for? Thanks!

This is a automatic comment generated by codeowners-mention to help ensure issues and pull requests are seen by the right people.

SUPPORT_COLOR |
SUPPORT_EFFECT |
SUPPORT_YEELIGHT_RGB = (SUPPORT_YEELIGHT_WHITE_TEMP |
SUPPORT_COLOR_TEMP)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You removed SUPPORT_COLOR, not SUPPORT_COLOR_TEMP.

@rytilahti
Copy link
Copy Markdown
Member

LGTM, can be merged after the checks are completed 👍

@rytilahti rytilahti merged commit 08eca4a into home-assistant:dev Jun 16, 2019
@zewelor zewelor deleted the whitelist_yeelight_predefined_effects_per_device_type_redux branch June 17, 2019 07:46
@balloob balloob mentioned this pull request Jun 26, 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.

4 participants