home-assistant / home-assistant/iOS
CarPlay Live Activities sometimes render duplicate/overlapping text
- Dominant language
- Swift
- Stars
- 2.4k
- Forks
- 520
- Avg merge
- 7h 27m
- Merged PRs (30d)
- 264
Description
Describe the bug
Live Activities displayed in Apple CarPlay sometimes show duplicated or overlapping content.
The same title, message and/or progress information is rendered multiple times on top of itself inside the Live Activity card.
The issue does not happen every time. Sometimes the Live Activity is displayed correctly, while at other times the same content is duplicated two or three times.
I have observed this with multiple different Home Assistant Live Activities, including:
* Washing machine finished
* Dryer finished
* Weather/rain information
* Home Assistant restart/status notifications
This suggests that the issue is not related to one specific automation or Live Activity payload.
To reproduce
1. Create a Home Assistant Live Activity using the iOS Companion App.
2. Connect the iPhone to Apple CarPlay.
3. Display/update the Live Activity in CarPlay.
4. After several updates or different Live Activities, some cards start displaying the same text multiple times/overlapping.
5. Other Live Activities may still display correctly.
Expected behavior
Each title/message/progress element should only be rendered once in the CarPlay Live Activity.
Actual behavior
The same text and progress elements are sometimes rendered multiple times on top of each other, making the Live Activity difficult to read.
Additional information
The attached photos show the issue clearly. In some cases the same text is rendered two or three times, while another Live Activity is displayed normally.
The problem appears specifically in the CarPlay presentation of Home Assistant Live Activities.
Contributor guide
Research direction
Start with the iOS Companion App's CarPlay Live Activities presentation and reproduce the issue by connecting an iPhone to CarPlay, then creating and updating several activities. Trace repeated updates across different activity types; done means each title, message, and progress element appears once without overlap after repeated updates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ios, swift
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100