-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
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
Remove lumen from Illuminance units #84386
Conversation
Hey there @home-assistant/core, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
Hey there @home-assistant/core, @Shulyaka, mind taking a look at this pull request as it has been labeled with an integration ( Code owner commandsCode owners of
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The affected integrations need to be cleaned up too.
These are (as it seems):
- Plugwise
- Xiaomi Miio
- HomeKit
Additionally, our custom test component uses "lm" as a unit of measurement for this device class, which needs to be adjusted too.
9473032
to
a90a8ac
Compare
Here's another one: core/homeassistant/components/tuya/const.py Lines 459 to 463 in a701630
|
Not sure how to cleanup tuya. Should I be removing the whole |
Yup! 👍 |
Was that a "yup" to remove the whole |
The "yup" was the removal, your last commit is correct 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @epenet 👍
Breaking change
For developpers only:
lm
is no longer allowed as a unit for sensors withIlluminance
device class.Proposed change
Linked to home-assistant/architecture#843
Type of change
Additional information
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: