Closed KennethLavrsen closed 1 year ago
Sorry for replying so late. I fixed this issue with v0.3.5, also they added in the native entity card another color so this card will also use it.
I am currently working on a new card which also includes cover entities, so this project won't be developed further. Just maintaining it as long as possible with bug fixes for incoming HA changes.
Thanks a lot. Looking forward to your new toy.
Hi The state-color: true does not work at all. There are two issues.
One is a bug in the code. You use an opening ha-svg-icon and close it with /ha-icon-button. It is the opening that is wrong.
And the other is that the css still use the now obsolete paper states. Now the state-cover-active-color and state-cover-inactive-color css names should be used for covers.
I am not a CSS or JS expert at all.
But I still managed to fix it. It is 3 lines of code changes. I am not skilled in github so please accept that I contribute a good old diff -u