python-broadlink icon indicating copy to clipboard operation
python-broadlink copied to clipboard

Added support for another type of LB26 R1 smart light bulb

Open therealandrewholland opened this issue 1 year ago • 0 comments

Context

Bought new LB26 R1 light bulbs that are not supported by this library due to their device type / product id

Proposed change

Added a new device type / product id for Broadlink's LB26 R1 smart light bulb to __init__.py:

line 181: 0xA517: ("LB26 R1", "Broadlink"),

Type of change

  • [ ] Dependency upgrade
  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [ ] New device
  • [x] New product id (the device is already supported with a different id)
  • [ ] New feature (which adds functionality to an existing device)
  • [ ] Breaking change (fix/feature causing existing functionality to break)
  • [ ] Code quality improvements to existing code or addition of tests
  • [ ] Documentation

Additional information

  • This PR fixes issue: fixes #
  • This PR is related to:
  • Link to documentation pull request:

Checklist

  • [x] The code change is tested and works locally.
  • [x] The code has been formatted using Black. (only a small section of a dictionary was changed)
  • [x] The code follows the Zen of Python. (only a small section of a dictionary was changed)
  • [x] I am creating the Pull Request against the correct branch.
  • [x] Documentation added/updated. (only a small section of a dictionary was changed to add a new product id)

therealandrewholland avatar Sep 21 '24 00:09 therealandrewholland