Mushroom Cards - adding dimmer control to a template card?

Hey team,

I need some help, please! For my dashboard, I am using Mushroom cards. I want to have blue icons as the standard “off” color, and change them to orange when they are “on”. I have managed to do this pretty easily with Mushroom Template cards. (See Fans in the screenshot below).

image

Now my problem is, I got some smart switches for my lights and they allow dimming (“Front Lights” and “Back Lights” in the screenshot above). So I want to have the dimmer control bar for those cards. I tried using a Mushroom Light card, which gives the dimmer control, but I can’t change the default “off” color from Grey to Blue. It only allows me to change the “on” color.

I figured I’d have to use the Mushroom Template card again to get the icon color to change - but I have no idea how to get the dimmer control bar on a template card. I couldn’t find any examples of someone doing this. Could anyone help?

Appreciate it very much!