Expose status of Assist as a sensor
Is your feature request related to a problem? Please describe.
When I listen to speech(audiobook, podcast, news,etc.) on my home sound system, assist can not distinguish between my voice and surrounding sound, and never stops listening.
Describe the solution you'd like
I would like to mute my home sound system, when assist is listening (like I do with Voice PE). To do this we need a sensor in the companion-app, that shows, whether assist on the phone is listening.
We could have different state
- CLOSED: Assist is not opened
- SPEAKING: Assist is speaking
- LISTENING: Assist is listening
- IDLE: Assist is opened but not doing anything
This feature request comes from https://community.home-assistant.io/t/sensor-for-assist-listening-on-phone/907054
Can I work on this
Can I work on this
I have no objection, take the time to read our guideline and best practices https://developers.home-assistant.io/docs/android/get_started
Hi @TimoPtr,
I am planning to add intents in the AssistViewModel to expose the State to the AssistSensorManager. Will this approach be ok?
Not sure to follow exactly what you want to do. But feel free to make a PoC and open a PR in draft so I can take a look.
Hi @TimoPtr , I have opened PR #6098. Can you take a look?