home-assistant / home-assistant/android

Add support for Add to watch favorite

Open
#5,624 7 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.