light-card icon indicating copy to clipboard operation
light-card copied to clipboard

[Feature-Request] Action Type

Open matisaul opened this issue 6 years ago • 2 comments

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.

matisaul avatar Aug 27 '18 19:08 matisaul

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 ;)

kuuji avatar Aug 27 '18 19:08 kuuji

@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.

kuuji avatar Aug 28 '18 00:08 kuuji