home-assistant / home-assistant/android
Allow changing the title and message of the persistent connection notification with templates
- Dominant language
- Kotlin
- Stars
- 3.9k
- Forks
- 1.1k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 81
Description
**Is your feature request related to a problem? Please describe.**
The new websocket feature is great. Many users don't like persistent notifications but I understand the need on the android side for these notifications to keep the socket from being terminated by android.
That being said, since we need to keep it can we make that space in the notification actually useful rather than users opting to hide it (and cause themselves issues). Can we have an option to customize that notification with templating for the title/message text and button actions like other actionable notifications? In this way the persistent notification becomes a useful space rather than just a 'connection'.
**Describe the solution you'd like**
The ability to customize the websocket notification with useful data/buttons. The default (no customization) could be simple and made useful itself (not sure what 'standard' things i'd like to see there by default) but really what I am after is to modify/customize it.
**Describe alternatives you've considered, if any**
minimize it, ignore it, silence it completely (this can break it).
**Additional context**
Contributor guide
Research direction
Start by locating the Android implementation of the persistent websocket notification and reviewing how other actionable notifications are configured. The issue does not name files or tests; done would require an agreed template model for title, message, and button actions, plus verification that the persistent connection remains reliable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100