Added functionality to configure energy devices