Legislation could go into effect by the end of this year, changing the way Californians landscape their homes.