A river built Idaho Power. Now batteries, a 290-mile transmission line and the timing of everyday demand are shaping what comes next.