-
-
Notifications
You must be signed in to change notification settings - Fork 51
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
Naming: stick with yeelight_bs2 or should it be xiaomi_bslamp2? #7
Comments
I think it's better to rename to xiaomi because this lamp doesn't have anything related to yeelight. It's xiaomi mijia bedside lamp 2 |
Okay, some info that I gathered: The lamp's official name is "Mi Bedside Lamp II". Based on all this, I would say it's indeed time to do some renaming in the code. |
The reasoning behind this can be found in this issue: #7 When you are already using a previous version of the firmware, then note that the following changes are necessary: * Update to the latest version of the custom component code. * Rename your folder `custom_components/yeelight_bs2` to `custom_components/xiaomi_bslamp2` * Update your yaml config by changing all occurrences of `yeelight_bs2` into `xiaomi_bslamp2` The links to the github repository will remain functional after the renaming operation, so it's not required to grab a fresh clone.
Okay, all done. The code has been updated to reflect the correct naming and the repository URL has been updated. |
The branding for this lamp is a bit of a mess on the internet, since it's offered both as "Xiaomi Mijia Bedside Lamp 2" and "Yeelight Bedside Lamp 2". When I bought mind, the name "Xiaomi" was nowhere to be found in the ordering process.
Yeelight appears to be the production company, whereas Xiaomi Mijia might be the actual intended brand for the device.
The device firmware identifies as "yeelink.light.bslamp2" BTW, just to make things
One pro of keeping "Xiaomi", would be that it fits nicely next to other xiaomi components that are already in ESPHome. These are all named like "xiaomi_". So when renaming the component, I would probably go for "xiaomi_bslamp2".
Any thoughts on this?
The text was updated successfully, but these errors were encountered: