Animating lighting

How can one animate a light to get brighter or darking (fade in or out) within blender?


With the lamp Active select Material buttons and then the Lamp buttons from there. With the mouse cursor in the buttons window hit I and select “Energy”, move ahaed in frames, change energy value and repeat.