External electric and mechanical stimuli can induce shape deformation in excitable media because of its intrinsic flexible property. When the signals propagation in the media is described by a neural network, creation of heterogeneity or defect is considered as the effect of shape deformation due to accumulation or release of energy in the media. In this paper, a temperature-light sensitive neuron model is developed from a nonlinear circuit composed of a phototube and a thermistor, and the physical energy is kept in capacitive and inductive terms. Furthermore, the Hamilton energy for this function neuron is obtained in theoretical way. A regular neural network is built on a square array by activating electric synapse between adjacent neurons, and a few of neurons in local area is excited by noisy disturbance, which induces local energy diversity, and continuous coupling enables energy propagation and diffusion. Initially, the Hamilton energy function for a temperature-light sensitive neuron can be obtained. Then, the finite neurons are applied noise to obtain energy diversity to explore the energy spread between neurons in the network. For keeping local energy balance, one intrinsic parameter is regulated adaptively until energy diversity in this local area is decreased greatly. Regular pattern formation indicates that local energy balance creates heterogeneity or defects and a few of neurons show continuous parameter shift for keeping energy balance in a local area, which supports gradient energy distribution for propagating waves in the network.