* Add support for Broadlink SP4M-JP (0x756B) (#782)
* Add support for Luceco/BG Electrical A60 bulb (0x606D) (#766)
* Add support for Luceco EFCF60WSMT (0xA6EF) (#787)
* Add support for Broadlink WS4 (#792)
* Add support for Broadlink SP4D-US (0xA6F4) (#793)
* Add support for Broadlink SP4L-AU (0xA576) (#731)
* Add support for Broadlink RM mini 3 (0x27B7) (#751)
* Add support for Broadlink LB27 C1 (0x6488) (#752)
* Add support for Broadlink SP mini 3 (0x7549) (#753)
* Add support for RM4C mini (0x520D) (#694)
* Add support for SP4L-US (0x648C) (#707)
* Add support for RM4C mate (0x5211) (#709)
* Add support for RM4 mini (0x521C) (#710)
* Add support for LB1 (0x644B) (#717)
* Add support for Broadlink RM4 mini (0x5216) (#671)
* Add support for Broadlink RM4 pro 0x520B (#673)
* Add support for SP4L-UK 0xA569 (#677)
* Fixing typo in rm4pro device definitions (#682)
* Add support for Bestcon RM4C pro (0x5218) (#683)
* Add support for Broadlink RM4 TV mate (0x5212) (#684)
* Add support for Broadlink RM4 mini (0x520C) (#685)
* Add support for Broadlink LB26 R1 (0x644E) (#636)
* Add support for Broadlink LB26 R1 (0x644E)
* Add Broadlink LB26 R1 to README.md
* Add missing device codes for LB27 R1 Smart Bulbs (#644)
These are two missing codes.
This closes issue #639
* Add support for Broadlink RM4 pro (0x5213) (#649)
* Add support for Broadlink RM4 TV mate (0x5209) (#655)
* Move 0x644C and 0x644E to the LB1 class (#666)
Co-authored-by: Mathew Verdouw <mathew@vtc.com.au>
* Rename calculate_crc16 to crc16
* Apply PEP-8 naming conventions
* Remove unnecessary import
* Accept any sequence type
* Remove unnecessary conversions
* Expose polynomial and initial value as kwargs
* Remove unnecessary bitwise operations
* Store the CRC-16 table for performance
* Add missing type hints
* Update docstring
* General improvements
* Add new SP4L-UK type
* Switch: SP4 check power and nightlight to return as boolean
Co-authored-by: Felipe Martins Diel <41558831+felipediel@users.noreply.github.com>
* Refactor the LB1 class
* General improvements
* Enumerate bulb color modes
* Clean up encoder
Co-authored-by: Felipe Martins Diel <felipe-diel@hotmail.com>
- Only start to count the timer inside the lock.
- Improve precision of the timeout option.
- Use a context manager for the connection.
- Remove SO_REUSEADDR option.
Amend: Revert retry_intvl (#506)