light-card
light-card copied to clipboard
[Feature-Request] Action Type
Hi, First of all, thanks for this great card. I was wondering if you could add an "action" option when clicking on the icon. For example, toogle the light, or call a service. This could be awesome.
Hey @matisaul ! Thanks for the suggestion!
I'm currently working on this project => https://github.com/kuuji/button-card The way I structured it will allow me to do more things eventually and I'm planning to move over some feature from light-card to button-card.
Being able to customize the action is definitely on my todo-list for button card after I move over the features from light. Keep an eye on it ;)
@matisaul I moved over the functionality of light-card to button card and added an action
that supports toggle
and more_info
for now. Planning on adding more in the future.