Bluetooth-Devices / bthome-ble

Parser for BTHome BLE devices
https://bthome.io/
MIT License
64 stars 11 forks source link

fix: make tests compatible with habluetooth>=3.0 #123

Closed mweinelt closed 1 month ago

mweinelt commented 1 month ago

The tests consume habluetooth via home-assistant-bluetooth, and in version 3.0 introduced the tx_power parameter in the constructor of BluetoothServiceInfoBleak.

Bluetooth-Devices/habluetooth@v2.8.1...v3.0.0#diff-bb5f33194f

Home Assistant 2024.6.0 pins habluetooth 1.12.0 and habluetooth 3.1.1. See https://github.com/home-assistant-libs/home-assistant-bluetooth/issues/38#issuecomment-2153448376 for the issue in the parent project.

Ernst79 commented 1 month ago

Thanks @mweinelt and @bdraco