home-assistant / home-assistant/android

Add click event to entity widgets

Open
#3,488 2 comments 5 reactions 0 assignees View on GitHub
enhancement widget
Dominant language
Kotlin
Stars
3.9k
Forks
1.1k
Avg merge
1d 12h
Merged PRs (30d)
81

Description

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

An entity widget depicts the current value of an entity. I somehow expect clicking on the widget to be guided to a more detailed page of the home assistant companion app. E. g. to see a graph of said entity with historical values.
**Describe the solution you'd like**

As people expect different actions, a generic solution, within the setup, enable the user to define an action, might be the best way to go. A on-click parameter could be set by default to "trigger update" as it is right now. However, one could also select "open dashboard", "open entity graph of the last x hours" and potentially other actions.
That would give people a lot of customisation options.

**Describe alternatives you've considered, if any**

Open the app, select the dashboard resp. the entity graph.

**Additional context**

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.