Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow widgets to have a custom state and action when tapped #4923

Open
TheCarpetMerchant opened this issue Dec 22, 2024 · 0 comments
Open

Allow widgets to have a custom state and action when tapped #4923

TheCarpetMerchant opened this issue Dec 22, 2024 · 0 comments
Labels
enhancement New feature or request widget

Comments

@TheCarpetMerchant
Copy link

TheCarpetMerchant commented Dec 22, 2024

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

@TheCarpetMerchant TheCarpetMerchant added the enhancement New feature or request label Dec 22, 2024
@dshokouhi dshokouhi changed the title It's not possible to create an equivalent widget to a button card Allow widgets to have a custom state and action when tapped Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request widget
Projects
None yet
Development

No branches or pull requests

2 participants