mjg59 / python-broadlink

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs
MIT License
1.35k stars 477 forks source link

Fix some problems with --durations in the current version. #741

Closed bengtmartensson closed 2 months ago

bengtmartensson commented 1 year ago

Context

Fixes bugs, described in #740.

Proposed change

Changes made to Python: replaced / by //. Changes to the main program: an if.

Type of change

Additional information

Checklist

felipediel commented 2 months ago

Closed with https://github.com/mjg59/python-broadlink/pull/788. Thanks @bengtmartensson!