LED temperature control