revamped logic for low pv states:
1) separated out the optimization function
2) changed the final condition to connect to grid
3) adjusted the connect conditions
4) added garnishes (buttons)
5) clear/cloudy day data