Bluetooth-Devices / led-ble

Control a wide range of LED BLE devices
Apache License 2.0
12 stars 9 forks source link

feat: update for new bleak version #33

Closed bdraco closed 1 year ago

bdraco commented 1 year ago

BREAKING CHANGE: The set_ble_device function has been renamed set_ble_device_and_advertisement_data and now requires the advertisement_data.

BREAKING CHANGE: The constructor no longer takes a retry count since this does not need to be configurable

codecov[bot] commented 1 year ago

Codecov Report

Base: 34.19% // Head: 35.44% // Increases project coverage by +1.24% :tada:

Coverage data is based on head (9dc544d) compared to base (1ff94f7). Patch coverage: 26.08% of modified lines in pull request are covered.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #33 +/- ## ========================================== + Coverage 34.19% 35.44% +1.24% ========================================== Files 6 6 Lines 462 426 -36 Branches 69 60 -9 ========================================== - Hits 158 151 -7 + Misses 301 273 -28 + Partials 3 2 -1 ``` | [Impacted Files](https://codecov.io/gh/Bluetooth-Devices/led-ble/pull/33?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/led\_ble/led\_ble.py](https://codecov.io/gh/Bluetooth-Devices/led-ble/pull/33/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2xlZF9ibGUvbGVkX2JsZS5weQ==) | `28.37% <22.72%> (+0.79%)` | :arrow_up: | | [src/led\_ble/\_\_init\_\_.py](https://codecov.io/gh/Bluetooth-Devices/led-ble/pull/33/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL2xlZF9ibGUvX19pbml0X18ucHk=) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.