* 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>
* Add a TROUBLESHOOTING doc with WiFi password notes
* Update TROUBLESHOOTING.md
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)
Add support for Broadlink RM4C mini (0x6539) (#476)
Add support for Broadlink RM4 pro (0x653C) (#472)
Add support for Broadlink RM4S (0x6364) (#475)
Add support for Broadlink MCB1 (0x756F) (#478)
Add support for Broadlink MCB1 (0xA56A) (#478)
Add support for Broadlink RM mini 3 (0x6508) (#479)
Add support for Efergy Ego (0x271D) (#481)
Add support for Broadlink SCB1E (0x5115) (#514)
Add support for Broadlink SCB1E (0x6113) (#488)
Add support for Broadlink SP4L-EU (0x618B) (#489)
Add support for Broadlink SP4L-UK (0xA589) (#491)
Add support for Broadlink RM3 mini (0x27d3) (#493)
Add support for Broadlink SP4L-AU (0x6489) (#498)
Add support for BG Electrical AHC/U-01 (0x51E2) (#497)
Add support for Broadlink MCB1 (0x6111) (#509)
Adjust documentation on transmit format
* Trailer is actually 0x00 0x0d 0x05 (ie the extended pulse length format)
* Trailer doesn't have to be this value on transmit
This is based on work in https://github.com/elupus/irgen, but is just a qualified guess that seem to match reality.
* Fix lint errors
* Remove rm2 class
* Rename cs to conn
* Add __repr__ to device class
* Make get_devices() a dictionary
* Clean up alarm kit
* Add module doscstrings
* Fix MAC address conversion