Skip to content

Conversation

@AntoineGS
Copy link
Contributor

Resolves #216
It includes PR #218

Here is how it looks in Home Assistant:
image

I kept the first battery reporting as an attribute as to not introduce a breaking change.

@AntoineGS AntoineGS force-pushed the multiple_battery_and_sensors branch from 7a0794d to 48f01b5 Compare December 24, 2025 23:59
@bkbilly
Copy link
Owner

bkbilly commented Dec 25, 2025

I really love your approach of using DBus for controlling the bluetooth devices using the Bluez API.

For the battery sensors, I've seen some people also requesting it even though there is a dedicated module just for showing the batteries, so it's nice that you included them.

I noticed a few PEP8 issues during the checks. If you'd like, I can merge the PR and fix those myself.
Just let me know!

@AntoineGS AntoineGS force-pushed the multiple_battery_and_sensors branch from 48f01b5 to e5662e4 Compare December 25, 2025 14:53
@AntoineGS
Copy link
Contributor Author

PEP8 is now passing! I did have to suppress one of the warnings as I felt that it did not make sense to split that code up to reduce the input parameters.

@bkbilly bkbilly merged commit 7f4c368 into bkbilly:master Dec 25, 2025
1 of 2 checks passed
@AntoineGS AntoineGS deleted the multiple_battery_and_sensors branch December 25, 2025 18:19
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.

Bluetooth Battery Reporting

2 participants