home-assistant / home-assistant/android

Allow widgets to have a custom state and action when tapped

Open
#4,923 1 comment 2 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.**
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

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.