Consumers in the UK could save billions of pounds thanks to major changes in the way electricity is made, used and stored, the government has said.
New rules will make it easier for people to generate their own power with solar panels, store it in batteries and sell it to the National Grid.
If they work, consumers will save £17bn to £40bn by 2050, according to the government and energy regulator Ofgem.
The rules are due to come into effect over the next year.
They will reduce costs for someone who allows their washing machine to be turned on by the internet to maximise use of cheap solar power on a sunny afternoon.