Skip to content

bluez.Device: Move fallbacks here from Base - #3242

Open
infirit wants to merge 2 commits into
blueman-project:mainfrom
infirit:propertyfallbacks
Open

infirit wants to merge 2 commits into
blueman-project:mainfrom
infirit:propertyfallbacks

Conversation

@infirit

@infirit infirit commented May 13, 2026

Copy link
Copy Markdown
Contributor

The fallbacks are for org.bluez.Device1 not everyting based on Base.

@infirit

infirit commented May 14, 2026

Copy link
Copy Markdown
Contributor Author

I disagree with sonarcloud here. This is an error and having the exception logged helps.

@infirit
infirit force-pushed the propertyfallbacks branch from cd1b6de to 5d59165 Compare May 31, 2026 14:36
@sonarqubecloud

Copy link
Copy Markdown

@infirit
infirit requested a review from cschramm May 31, 2026 14:37
@infirit

infirit commented May 31, 2026

Copy link
Copy Markdown
Contributor Author

Rebased and CI is clean.

@infirit
infirit enabled auto-merge (rebase) May 31, 2026 14:38
Comment thread blueman/bluez/Base.py Resolved
@sonarqubecloud

Copy link
Copy Markdown

@infirit
infirit requested a review from cschramm October 12, 2026 14:53
@infirit

infirit commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Applied suggestion and re-based.

The fallbacks are for org.bluez.Device1 not everyting based on Base.
It makes little sense but Percentage is an optional property.
As the Percentage may show up later let's fallback to 0.
@sonarqubecloud

Copy link
Copy Markdown

@infirit

infirit commented Nov 24, 2026

Copy link
Copy Markdown
Contributor Author

Added a second commit to Battery to fallback to 0 if Percentage is missing.

This branch has not been deployed

No deployments
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.

2 participants