Most electric generation works better when run constantly rather than with highs and lows. Thus charging a low rate at night during off-peak hours makes sense. Businesses have been subject to this for a long time, even going to the extent of making ice at night to cool a building in the day rather than pay to use air conditioning compressors during peak hours.
But all of that is strictly between the customer and the power company without the government being involved. Publish the rates for various times of day and let me decide whether to pay it or not and whether it makes sense to do things like run solar because it is most productive during peak hours.