Add support for Add to button widget
We've introduced Add to feature in https://github.com/home-assistant/android/pull/5622 and it would be nice to extend it to Button widget.
The UI for selecting an action is available starting from HA core 2025.12.0 or (in nightly/dev).
- we need to define a new action in
EntityAddToActionfor Button widget - we need to adjust the logic of EntityAddToHandler to add the action when it makes sense
- modify
ButtonWidgetConfigureActivityto take the entity as parameter and prefill the selected entity
In this task you will also have to update the unit tests in EntityAddToHandler
Hello, "Add to button" shows only when user have admin rights. For multiple fammily users this function is not available. HA 2025.12 + 2025.11.4 app on Android.
Indeed, but this is the wrong place to add this comments. It needs to be addressed on the frontend side. Could you open an issue there and tag me? I'm going to look at how we could expose it.
I did create the ticket and open a PR for the fix https://github.com/home-assistant/frontend/pull/28365
Is this issue still open ?
If you mean the issue about adding button widget yes it's still open. The issue about non admin user is closed but not yet released on the frontend.