1
0
mirror of https://github.com/mjg59/python-broadlink.git synced 2024-11-11 02:10:12 +01:00
Commit Graph

11 Commits

Author SHA1 Message Date
Felipe Martins Diel
1a8ee21a34 Make better use of namespaces (#564)
Use namespaces for typing and exceptions.
2021-04-26 17:57:02 -03:00
Felipe Martins Diel
20b9eed6bc
Add a method to update device name and lock status (#537) 2021-03-11 01:00:10 -03:00
Felipe Martins Diel
39ee67bb98
Split the rm and rm4 classes into smaller classes (#529) 2021-02-16 18:14:11 -03:00
Felipe Martins Diel
e12fd6f115 Make the type a class attribute (#530) 2021-01-29 18:22:58 -03:00
Felipe Martins Diel
586d44493e Change rm.find_rf_packet()'s return value to None (#527)
Change rm.find_rf_packet()'s return value to None. If there is no exception, it worked.
2021-01-29 18:22:58 -03:00
Felipe Martins Diel
c3bb598e27 Timeout improvements (#464)
- 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)
2021-01-29 18:17:45 -03:00
Felipe Martins Diel
d7cbe304e0 Improve RM4 communication (#490) 2021-01-29 18:17:45 -03:00
Kendell R
dfd3372c36 Add GH Actions (#470)
Add GitHub actions and run black.
2021-01-29 18:17:45 -03:00
Felipe Martins Diel
0dc0068d63
Improve code quality (#428)
* 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
2020-09-24 07:36:12 +02:00
Felipe Martins Diel
5ef4124491 Remove legacy byte conversions 2020-09-20 17:11:14 -07:00
Felipe Martins Diel
08c020e597 Call Mr. Krueger 2020-09-20 02:10:18 -07:00