Historic energy commission ruling to enable smart grid