Home Assistant Android app version(s):
2026.3.2-full
Android version(s):
Android 16 (build CP1A.260405.005)
Device model(s):
Google Pixel 10a
Home Assistant version:
2026.4.2
Last working Home Assistant release (if known):
Unknown
Description of problem, include YAML if issue is related to notifications:
I found a bug in the Home Assistant Android app related to actionable notifications. Basically there's a situation where choosing an action will cause the companion app to send a mobile_app_notification_action event back to Home Assistant but the notification will still be present on the Android device. Normally when you choose an action the notification for that action should be cleared.
Here's how to reproduce the problem:
- Run this script to send two notifications (one actionable, one unactionable) to your device:
sequence:
- variables:
option_one: "{{ 'ONE_' ~ context.id }}"
option_two: "{{ 'TWO_' ~ context.id }}"
tag: test_actionable_notification
- metadata: {}
data:
title: Test Actionable Notification
message: This is a test
data:
ttl: 0
priority: high
tag: "{{ tag }}"
actions:
- action: "{{ option_one }}"
title: One
- action: "{{ option_two }}"
title: Two
action: notify.mobile_app_foobar
- delay:
hours: 0
minutes: 0
seconds: 5
milliseconds: 0
- metadata: {}
data:
title: Test Unactionable Notification
message: This is another test
data:
ttl: 0
priority: high
tag: test_unactionable_notification
action: notify.mobile_app_foobar
mode: single
alias: Notification bug repro
description: ""
-
Swipe away the unactionable notification. This triggers a mobile_app_notification_cleared event in Home Assistant as expected.
-
Choose an action in the actionable notification. This triggers a mobile_app_notification_action event in Home Assistant as expected, but the notification remains on the Android device even though it should be cleared.
Companion App Logs:
04-13 11:09:04.192 11887 8619 W FirebaseMessaging: Unable to log event: analytics library is missing
04-13 11:09:04.195 11887 8619 D FirebaseCloudMessagingService: From: 331041xxxxxx
04-13 11:09:04.205 11887 11887 D MessagingManager$handleMessage: Creating notification with following data: {action_2_title=Two, tag=test_actionable_notification, title=Test Actionable Notification, webhook_id=4ccf9a705e74f58342191c9ed9a5b1d5734afa8f744137f7xxxxxxxxxxxxxxxx, message=This is a test, action_1_title=One, action_1_key=ONE_01KP40GNRQ10BDAEP520J01KK8, action_2_key=TWO_01KP40GNRQ10BDAEP520J01KK8, server_id=3}
04-13 11:09:04.211 11887 11887 D MessagingManager: Show notification with tag "test_actionable_notification" and id "216762253"
04-13 11:09:09.256 11887 8628 W FirebaseMessaging: Unable to log event: analytics library is missing
04-13 11:09:09.256 11887 8628 D FirebaseCloudMessagingService: From: 331041xxxxxx
04-13 11:09:09.267 11887 11887 D MessagingManager$handleMessage: Creating notification with following data: {tag=test_unactionable_notification, title=Test Unactionable Notification, webhook_id=4ccf9a705e74f58342191c9ed9a5b1d5734afa8f744137f7xxxxxxxxxxxxxxxx, message=This is another test, server_id=3}
04-13 11:09:09.272 11887 11887 D MessagingManager: Show notification with tag "test_unactionable_notification" and id "904565780"
04-13 11:09:17.301 11887 11887 D NotificationManagerExtensionsKt: Cancel notification with tag "null" and id "0"
04-13 11:09:17.302 11887 11887 D NotificationManagerExtensionsKt: Check if the notification is in a group...
04-13 11:09:17.302 11887 11887 D NotificationManagerExtensionsKt: Notification is not in a group. Cancel notification...
04-13 11:09:17.340 11887 3528 D NotificationDeleteReceiver$onReceive: Notification cleared event successful!
04-13 11:09:25.130 11887 10165 D NotificationManagerExtensionsKt: Cancel notification with tag "test_actionable_notification" and id "216762253"
04-13 11:09:25.133 11887 10165 D NotificationManagerExtensionsKt: Check if the notification is in a group...
04-13 11:09:25.135 11887 10165 D NotificationManagerExtensionsKt: Notification is in a group (0|io.homeassistant.companion.android|g:Aggregate_AlertingSection). Get all notifications for this group...
04-13 11:09:25.137 11887 10165 D NotificationManagerExtensionsKt: Notification is NOT the group summary.
04-13 11:09:25.137 11887 10165 D NotificationManagerExtensionsKt: Notification is inside of group "0|io.homeassistant.companion.android|g:Aggregate_AlertingSection", but is the last one in the group. Try to cancel the group notification....
04-13 11:09:25.137 11887 10165 D NotificationManagerExtensionsKt: Cancel group notification with tag "0|io.homeassistant.companion.android|g:Aggregate_AlertingSection" and id "81374898"
04-13 11:09:28.792 11887 11887 D InsetsController: hide(ime())
04-13 11:09:28.792 11887 11887 I ImeTracker: io.homeassistant.companion.android:f41388fc: onCancelled at PHASE_CLIENT_ALREADY_HIDDEN
04-13 11:09:28.796 11887 11887 D IntegrationRepositoryImpl: isAppLocked(): false. (LockEnabled: false, appActive: true, expireMillis: 1776098293652, currentMillis: 1776103768795)
04-13 11:09:28.798 11887 11887 D IntegrationRepositoryImpl: setAppActive(): true
04-13 11:09:30.497 11887 10165 D LogcatReader$readLog: Read logcat for pid 11887
Screenshot or video of problem:
I can provide a video if you need one.
Additional information:
Home Assistant Android app version(s):
2026.3.2-full
Android version(s):
Android 16 (build CP1A.260405.005)
Device model(s):
Google Pixel 10a
Home Assistant version:
2026.4.2
Last working Home Assistant release (if known):
Unknown
Description of problem, include YAML if issue is related to notifications:
I found a bug in the Home Assistant Android app related to actionable notifications. Basically there's a situation where choosing an action will cause the companion app to send a
mobile_app_notification_actionevent back to Home Assistant but the notification will still be present on the Android device. Normally when you choose an action the notification for that action should be cleared.Here's how to reproduce the problem:
Swipe away the unactionable notification. This triggers a
mobile_app_notification_clearedevent in Home Assistant as expected.Choose an action in the actionable notification. This triggers a
mobile_app_notification_actionevent in Home Assistant as expected, but the notification remains on the Android device even though it should be cleared.Companion App Logs:
Screenshot or video of problem:
I can provide a video if you need one.
Additional information: