Usually Uber Eats Android app has 3 notifications in order: Preparing → Ready → Rate.
It looks like Uber Eats app tries to reuse the same notification ID but the previous notifications are still there.
As the result, the attribute list in sensor.my_phone_active_notification_count can only see the oldest notification.
For the Uber Eats case, only Preparing order notification can be found in HA.
When I dismiss Preparing order notification, I can see Order is ready notification.
When I dismiss Order is ready notification, I can see Rate the experience notification.
Is it a known issue for HA Companion app in Android?
In my opinion, HA should add all 3 notifications to Active Notification Count sensor or at least select the latest notifications with the same ID.
Thanks!
if the notification has the same ID then you will only see 1 notification as it will be replaced. Active notifications are not considered canceled.
Post a notification to be shown in the status bar. If a notification with the same id has already been posted by your application and has not yet been canceled, it will be replaced by the updated information.