Prepare the 1.0.0 release - #5
Merged
Merged
Conversation
- broadlink_cli --learn and --rflearn learn through capture() and capture_rf(), so a session no longer goes deaf when the device times out partway through the 30 s wait. New --window (seconds to listen), --keep (print every code heard) and --repeat (with --send --durations). - cli/README.md: --rfscanlearn was a typo for --rflearn (mjg59#803, mjg59#830); install line is pip install python-broadlink; examples for --frequency, --window, --keep and --repeat. - README: four device calls in the switch examples were missing await; the RF check_frequency example now unpacks the (found, frequency) tuple. - CHANGELOG: 1.0.0 heading, the CLI changes, and the pulses_to_data bytes-instead-of-bytearray note. - tests/test_capture.py timings expressed as multiples of a 30 ms unit (was 10 ms) for headroom on slower CI runners. - Version 1.0.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Last changes before tagging 1.0.0.
broadlink_cli --learn and --rflearn now learn through capture() and capture_rf(), so a session no longer goes deaf when the device times out partway through the old 30 s wait. New flags: --window (seconds to listen), --keep (print every code heard during the window) and --repeat (with --send --durations). The CLI README's --rfscanlearn was a typo for --rflearn (mjg59#803 and mjg59#830 upstream); the install line and examples are updated.
README: four switch examples were missing await, and the RF check_frequency example now unpacks the (found, frequency) tuple it returns.
CHANGELOG gets the 1.0.0 heading, the CLI changes and a note that pulses_to_data returns bytes (it returned a bytearray, against its own annotation).
The capture tests' timings are expressed as multiples of a 30 ms unit instead of 10 ms for headroom on slower CI runners.
Version set to 1.0.0. 242 tests on 3.13 and 3.14; sdist and wheel build.