I think it's more the amount and color of the light more than the heat, though too much heat and too little heat can affect them.
I do a lot of experimenting with lights of all types - CFL, HID and LED among them. IME, it is a combination of Daily Light Integral (DLI), Growing Degree Days (GDD) and the age of the plant.
DLI is a measurement of PAR light plants get per day. Tomatoes and Peppers need 18 moles minimum, with 21-22 recommended.
GDD relates to how plants and even insects react to an accumulation of temperature above a given standard (usually 50 or 52 degrees). An example is a typical 75 Days to Maturity tomato plant. Forty to Fifty days after being transplanted they will typically bloom if they get the 18 moles per day of DLI and the GDD is about 1300-1500. OTOH, even if they get the needed DLI but the GDD is too low, they do not bloom. And like a female, they have a given amount of time they are "fertile." If the above plant turns 90 days old before it reaches the 1300 GDD mark, most of its ability to produce a flower, and for that bloom to turn into a fruit, disappears.
As for LED lights - plants need all the spectra, not just a couple of red and blue ones. They don't absorb much of some of them, such as green but like humans, they cannot flourish on just one cut of beef and one type of greens alone - they need a balanced diet. What I find odd - LED billboards that can display at least 256 colors and change constantly are all over the place, but yet they have not made their way to grow lights.
Mike