android icon indicating copy to clipboard operation
android copied to clipboard

Add support for Add to watch favorite

Open TimoPtr opened this issue 6 months ago • 7 comments

We've introduced Add to feature in https://github.com/home-assistant/android/pull/5622 and it would be nice to extend it to Watch favorite.

The UI for selecting an action is available starting from HA core 2025.12.0 or (in nightly/dev).

  • we need to adjust the logic of EntityAddToHandler to only display the watch option if a watch is available (disconnected or not)
  • The option should only be enabled when the watch is connected.

In this task you will also have to update the unit tests in EntityAddToHandlerTest

TimoPtr avatar Aug 05 '25 13:08 TimoPtr

We actually don't support multiple watches but only the first connected one

dshokouhi avatar Aug 05 '25 14:08 dshokouhi

We actually don't support multiple watches but only the first connected one

I updated the description.

TimoPtr avatar Aug 05 '25 14:08 TimoPtr

@TimoPtr can I work on this?

ujjol1234 avatar Sep 13 '25 11:09 ujjol1234

@TimoPtr can I work on this?

Not yet. The frontend part is not yet done.

TimoPtr avatar Sep 13 '25 12:09 TimoPtr

No worries, I will look for some other issues to work on.

ujjol1234 avatar Sep 13 '25 12:09 ujjol1234

This can be worked on since the PR on the frontend and android have been merged.

TimoPtr avatar Nov 10 '25 11:11 TimoPtr

Related issue which will also apply here: #6038

jpelgrom avatar Nov 13 '25 21:11 jpelgrom