Closed wgrant closed 2 months ago
This is a good idea. However, the implementation conflicts with my PR #741. Either this PR should be rewritten on top of mine, or the other way around.
See also #743.
Awesome, I'll merge the fix here.
Closed with https://github.com/mjg59/python-broadlink/pull/788. Thanks @bengtmartensson!
Context
Broadlink's IR/RF message protocol is well-understood, but translation between it and the standard microsecond duration format usable in other IR contexts is only accessible via broadlink_cli.
Proposed change
Move the two duration<->Broadlink functions from broadlink_cli to broadlink.remote, where they can be used by applications consuming the library.
Type of change
Checklist