Skip to content

Coerce color_temp to int even when passed in as kelvin#7640

Merged
balloob merged 1 commit into
home-assistant:devfrom
amelchio:light-coerce-kelvin
May 18, 2017
Merged

Coerce color_temp to int even when passed in as kelvin#7640
balloob merged 1 commit into
home-assistant:devfrom
amelchio:light-coerce-kelvin

Conversation

@amelchio
Copy link
Copy Markdown
Contributor

Description:

Small fix for #7596.

My own lights want Kelvin so they don't mind. However, I expect some platform will break with color_temp being a float.

Checklist:

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

  • Local tests with tox run successfully.

@mention-bot
Copy link
Copy Markdown

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

@balloob balloob merged commit 3d4b243 into home-assistant:dev May 18, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Sep 4, 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.

4 participants