kuuji / light-card

Lovelace light-card for home assistant
MIT License
18 stars 0 forks source link

[Feature-Request] Action Type #1

Open matisaul opened 5 years ago

matisaul commented 5 years ago

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.

kuuji commented 5 years ago

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 commented 5 years ago

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