Lights color background in Mashroom light card

Hi guys, I searched everywhere, and probably using the wrong wording but, when in dark mode and color light is cold (white), I can see the bar.

How can I fix that?

Also, if I have the swipe to change to the next room, if I swipe the light to 0 or 100, it will swipe the page right after, which is very annoying. Any fix?