adds json configuration object for the power sensor