-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
add actions to state-badge element and state-label-badge (default Lovelace badge type) #4028
Conversation
will wait for home-assistant/home-assistant.io#10834 to be merged before adding docs |
How many places use |
Agreed |
state-label-badge no longer handles clicks added actions to hui-state-label-badge moved ha-badges-card to Lit
Went with a different approach and as suggested have the parent handling click events. I realized 3/4 the way through moving ha-badges-card to Lit that it was part of States, 🤷♂️ In doing this I also decided to add actions to badges 🎉 |
Docs: home-assistant/home-assistant.io#10915