home-assistant / home-assistant/android
Allow widgets to have a custom state and action when tapped
Open
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.**
I want to show the state of a sensor as a widget, and trigger events when clicking that sensor. This is currently not possible AFAIK.
**Describe the solution you'd like**
- Allow the Entity State widget to have templating for the main text of the widget (not the small label)
- Allow the Template widget to trigger actions
- Allow sensor sensors to register actions
**Describe alternatives you've considered, if any**
**Additional context**
Contributor guide
Assessment
This issue has not been assessed yet.