Help new person dim led smothly according to temp

Anyone?
I googled the hell out of it, but it is beyond my level.