server/services/enedis/lib/enedis.sync.js
Function sync
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async function sync(fromStart = false) {
logger.debug('Enedis: Syncing account');
const usagePoints = await this.gladys.device.get({
service: 'enedis',
});