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

fix: fix deprecated light constants and change to kelvin #2183

Merged

Conversation

Snuffy2
Copy link
Contributor

@Snuffy2 Snuffy2 commented Feb 11, 2024

I have not fully tested this

I coded the changes below. Then when I went to test them, I found that the 1 of the lights that used to connect via Alexa was dead and I am unable to find where I put the other one (embarrassing). I don't normally use lights via Alexa, I just had them from some previous iterations of things I was working on.

So .... if people would like to test and report back, I can try to refine as needed. However, @alandtse, I'd totally understand if you just want to remove/close this PR since it is untested. Sorry.

This PR fixes the deprecated constants, but also changes to use kelvin behind the scenes since that is what the light entities now use and there isn't an easy way to replace the deprecated constants and keep using mireds.

@alandtse
Copy link
Owner

Thanks. No worries; I don't have any lights and I merged PRs in blind before. I'd appreciate if you checked in on the repo after we release it to see if there's anything obvious to fix, but no worries either way.

@alandtse alandtse changed the title Fix deprecated light constants and change to kelvin fix: fix deprecated light constants and change to kelvin Feb 11, 2024
@alandtse alandtse merged commit ab5f05d into alandtse:dev Feb 11, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants