Closed alexanderphoenix closed 1 year ago
I don't believe I have permissions to push to this repo, so won't be able to open a PR. Hopefully the solution I provided can still be implemented to fix the issue
@alexanderphoenix you should be able to make a PR, but you have to fork this repo first.
Thanks for your investigation!
Thank you @PiotrMachowski, sorry I should've realised. I've now submitted the PR, it works locally to my installation, but I've not tested all scenarios.
Fixed in v2.0.0
Hello,
I have just started using the local conditional card on my Hassio, however I've encountered a problem when using the
local_conditional_card.set
method.A reduced version of my config:
unfortunately only the last card works, and anything I click results in this error being produced on the chrome console:
The line in question is: https://github.com/PiotrMachowski/Home-Assistant-Lovelace-Local-Conditional-card/blob/b3de1beef86f283639266379a32f0443ac01df6d/dist/local-conditional-card.js#L51
I have corrected this problem by replacing that line with:
@PiotrMachowski I'll submit a PR for your approval, hope you'll find this helpful,
Cheers,
Alex