Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Android Auto notification extension #3642

Merged
merged 1 commit into from
Jul 7, 2023

Conversation

jpelgrom
Copy link
Member

@jpelgrom jpelgrom commented Jul 7, 2023

Summary

Add an option to have notifications show up on Android Auto. This will allow users to show any notification they want by adding a single line. This can be used for anything, like critical alerts like the docs example or getting sensors updated (#3399, instead of forcing a notification this can be handled with an automation).

Notification icons aren't processed/changed as much in Android Auto as the status bar, so also two related minor changes to make them look good:

  • Apply color filter to MDI notification icons as Android Auto doesn't make them white
  • Switch default notification icon for vector icon to prevent low res icon in Android Auto

The setting is named car_ui as these changes may also benefit Android Automotive and maybe even iOS/CarPlay can use it in the future? Automotive is unclear and could depend on the manufacturer though so not mentioning it in the docs.

Fixes #3520

Screenshots

Android Auto head unit with a Home Assistant notification on top of the screen

Actions will show up with their icon, so I guess we need an option to specify the icon soon:
Android Auto head unit with a Home Assistant notification on top of the screen, and a button with a Home Assistant icon on the right

Link to pull request in Documentation repository

Documentation: home-assistant/companion.home-assistant#951

Any other notes

 - Add an option to have notifications show up on Android Auto
 - Apply color filter to MDI notification icons as Android Auto doesn't make them white
 - Switch default notification icon for vector icon
Copy link
Member

@dshokouhi dshokouhi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome and should make some people very happy!

@JBassett JBassett merged commit 0949d57 into home-assistant:master Jul 7, 2023
4 checks passed
@jpelgrom jpelgrom deleted the auto-notifications-action branch July 7, 2023 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notification/Popup on Android Auto
3 participants