home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.86k stars 30.1k forks source link

Notification using TTS doesn't play when connected to Android Auto #127149

Open erickson-brian57 opened 2 hours ago

erickson-brian57 commented 2 hours ago

The problem

TTS notifications like the following don't work when connected to Android Auto

action: notify.mobileapp metadata: {} data: message: TTS data: tts_text: The front door is open ttl: 0 priority: high

What version of Home Assistant Core has the issue?

core-2024.9.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Mobile App

Link to integration documentation on our website

https://www.home-assistant.io/integrations/mobile_app

Diagnostics information

No error is produced. My guess is that the the TTS message plays over the bluetooth connection. However, when Android Auto is connected, I'm not allowed to selected Bluetooth as my audio device.

Example YAML snippet

action: notify.mobile_app_<myphone>
metadata: {}
data:
  message: TTS
  data:
    tts_text: The front door is open
    ttl: 0
    priority: high

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 2 hours ago

Hey there @home-assistant/core, mind taking a look at this issue as it has been labeled with an integration (mobile_app) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `mobile_app` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign mobile_app` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


mobile_app documentation mobile_app source (message by IssueLinks)

erickson-brian57 commented 2 hours ago

Adding: media_stream: alarm_stream_max allows the message to be heard from the phone. However, it remains impossible to hear the message over the car speakers while Android Auto is connected.