android
android copied to clipboard
Allow changing the title and message of the persistent connection notification with templates
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
As requested in https://github.com/home-assistant/android/issues/2267#issuecomment-1037316815, I am going to add a few linked issues with more detail and specifics. Give me a little bit to work on that. :)
I do suggest fixing the spelling in the title of this issue, though. (Not that I'm always one to talk on that score, so not complaining, just trying to make it all easier to find later!)
I am going to update the title of this request to more closely match the ask here. This request will be used for changing the title and message of the notification. There are other requests for the notification as well to further enhance the customization of this notification.