Skip to content

Prepare the 1.0.0 release - #5

Merged
DAB-LABS merged 1 commit into
masterfrom
release-prep
Sep 5, 2026
Merged

Prepare the 1.0.0 release#5
DAB-LABS merged 1 commit into
masterfrom
release-prep

Conversation

@DAB-LABS

@DAB-LABS DAB-LABS commented Sep 5, 2026

Copy link
Copy Markdown
Owner

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.

- 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.
@DAB-LABS
DAB-LABS merged commit 1439198 into master Sep 5, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant