I use solar. They're supposed to be pathway lights, but I took them apart so I can have the panel outside the coop sucking up sun, and the light inside the coop. They generally like to go where there's light.
If I wait till dark, they'll roost on top of the coop. Then I have to pet / poke /...