Cusomizing Lovelace Light Card

Hi Guys,

Trying to achieve something like the picture below:

Lightscard-ColorTemp

Just the regular Lovelace Light Card and I Photoshopped in the slider for color temperature from the Details in the card.
Is this possible to achieve, code examples appreciated.

//Ase