Help new person dim led smothly according to temp

Anyone got any ideas to get past that?