home-assistant / home-assistant/android

BLE transmitter does not resume after app update until app is opened

Open
#7,185 0 comments 0 reactions 0 assignees View on GitHub
bug sensor-tracking
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

**Home Assistant Android app version(s):**

2026.6.5-full (22884)

**Android version(s):**

Android 14

**Device model(s):**

OnePlus Nord

The behavior was observed on multiple phones in the same household; the diagnostic details above are from the confirmed OnePlus Nord device.

**Home Assistant version:**

2026.7.2

**Last working Home Assistant release (if known):**

Unknown

**Description of problem, include YAML if issue is related to notifications:**

After the Home Assistant Companion app is updated automatically by Google Play, background BLE advertising does not resume until the app is manually opened in the foreground.

The BLE Transmitter sensor is enabled and configured as **Transmit on Home Networks only**. The affected phone remained connected to the configured home Wi-Fi throughout the failure. Bermuda is used for indoor device tracking; after the app update, Bermuda stopped receiving BLE advertisements from the updated devices completely.

Opening the Companion app displayed the **What's new** dialog. After bringing the app to the foreground and dismissing that dialog, BLE advertisements resumed without changing or re-enabling the BLE Transmitter sensor. It has not yet been isolated whether merely opening the app or dismissing the dialog is the exact recovery trigger.

The Companion app is allowed to start automatically, run in the background, and is excluded from battery optimization.

**Steps to reproduce:**

1. Enable the BLE Transmitter sensor and set it to **Transmit on Home Networks only**.
2. Keep the phone connected to a configured home Wi-Fi network and confirm that Bermuda receives its BLE advertisements.
3. Allow Google Play to update the Companion app automatically.
4. Without opening the updated app, observe that Bermuda no longer receives advertisements from the phone.
5. Open the Companion app and dismiss the **What's new** dialog.
6. Observe that BLE advertising resumes without changing the sensor configuration.

**Expected behavior:**

After package replacement, enabled background functionality, including BLE advertising, should resume without requiring the user to launch the app or dismiss a dialog.

**Actual behavior:**

BLE advertising remains stopped indefinitely until the app is manually opened in the foreground and the update dialog is dismissed.

Related reports:

- #2683 reported missing sensor updates after an automatic app update, but was closed because the original reporter could not confirm the update was causal and no logs were supplied.
- #6566 concerns sensor settings becoming disabled after an update. This appears different because the BLE Transmitter configuration remains usable and advertising resumes without re-enabling it.

**Companion App Logs:**

```
Logs were not captured during the affected update.
```

**Screenshot or video of problem:**

None available. The failure is observed as the complete absence of BLE advertisements in Bermuda until the app is opened.

**Additional information:**

The issue was noticed after the most recent update on multiple phones in the household. All affected phones were connected to their configured home networks. Automatic startup/background operation is enabled and battery optimization is disabled for the Companion app.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the automatic Google Play update with BLE Transmitter enabled on a configured home Wi-Fi network, then capture Companion App logs during the failure. Compare the app's behavior before and after opening it and dismissing the What's new dialog. Done means enabled background BLE advertising resumes after package replacement without launching the app or changing sensor settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.