In a future with solar and batteries, daytime and nighttime electricity pricing cannot be equal - else nobody would bother to have a battery (grid scale or at home).
Rules and regulations could solve that problem (meter not allowed to go backwards, solar companies are forced to pay some kind of battery credit, etc), but the free market will always outcompete.
Therefore, I forsee the future lies in 'smart' electricity meters which can charge different rates at different times of day - perhaps with minute by minute live pricing.
Here in Ireland, night-time power prices are much lower than daytime.
I’m happy enough that a battery will serve me equally well in both modes, but there’s definitely going to be a period where all it does is support self-consumption.
And then a storm hits texas and without realizing it you run up a $30,000 electricity bill in a single night of not freezing.
We already do this. Charging different rates for different times of day.
It’s called TOU pricing.