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

Update light to use Kelvin instead of mireds #659

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

brg468
Copy link
Collaborator

@brg468 brg468 commented Dec 24, 2024

Handle the depreciation of mireds in HA.

This also addresses many formatting errors from Ruff, including adding/updating docstrings, organizing imports and removing some unnecessary comments.

Eventually I'm planning to fix the rest of the files to bring them all up to or near compliance with the HA suite of formatters/linters, mostly for my sake, but it should make everything more readable and consistent.

Edit: Not MyPy compliant, I don't feel like messing with all the type hints just yet. 😄

@brg468 brg468 linked an issue Dec 24, 2024 that may be closed by this pull request
add lightstrip to devices that support 1800K white
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.

Color temp depreciation in 2025.1
1 participant