Degrees of Freedom in Sharing Control of Smart Grid Connected Devices