LED dash lights

I think I figured out you could add a 40 or 50 ohm 10 watt resistor and that would pull enough current to make the dimmer work, and not get too hot, if you don’t want the extra light. Can buy on Amazon.
Where would you add the resistor?