home-assistant / android

:iphone: Home Assistant Companion for Android
https://companion.home-assistant.io/
Apache License 2.0
2.35k stars 655 forks source link

Wear OS add actions to direct notifications #3324

Open seanmccabe opened 1 year ago

seanmccabe commented 1 year ago

Is your feature request related to a problem? Please describe. Not a problem.

Describe the solution you'd like Add actionable notifications to Wear OS notifications. The app is stated that it should work standalone, but this important feature appears to be missing. Actionable notifications work when they come through via the phone, would be great if direct notifications can also have actions.

Describe alternatives you've considered, if any Nothing applicable.

dshokouhi commented 1 year ago

This will be an interesting one to port over as this feature is tied to many features not found in the Wear OS app.

I don't think we will be able to support action: URI here given the limitations.

Is the end goal here to get back an event once clicked/replied to?

seanmccabe commented 1 year ago

Yer the intent is to send an event back to HA, i.e. to trigger an automation.

Not fussed on the action URI.

Example, have an automation to say my watch has been disconnected from ym phone for 5 minutes, here I want to fire an automation to the watch directly asking if to arm away mode. Need a button to confirm that action back to HA.