For example just by heating and cooling houses a few hours before people get home, we can shift a lot of demand towards the middle of the day when solar power is abundant, and away from evening peaks.
We're definitely going to need something like this for widespread EV usage, where cars can potentially upload power to the grid.
Government has a role here in setting standards. They are the ones who get blamed for high energy prices or outages, anyway.