When Maya turns the lights off she flips the switch down but when her and Riley approach the window the switch is up.
Technically, while Maya does throw her first two pitches out of the strike zone, and Lucas hits Farkle with the third pitch, the count should be 1-2, and Farkle should not be awarded first base. Farkle brought the bat forward across the plate on the second pitch from Maya, and actually swung the bat when hit by Lucas. These are both considered a strike.