PiotrMachowski / Home-Assistant-Lovelace-HTML-Jinja2-Template-card

This card displays provided Jinja2 template as an HTML content of a card. It uses exactly the same engine as Home Assistant in Developer tools.
MIT License
68 stars 10 forks source link

Raise event with parameters? #7

Open i00 opened 4 years ago

i00 commented 4 years ago

Would be great if you could make the onClick call fire an event we can pickup in an automation with parameters.

Thanks

PiotrMachowski commented 4 years ago

I have checked it some time ago and it was not possible to do something like this (or I am not skilled enough).