diff --git a/3/ecolyo.ca2bfa3d548c157337bb.js b/3/ecolyo.eff4cc1e75bcc37e8fed.js similarity index 99% rename from 3/ecolyo.ca2bfa3d548c157337bb.js rename to 3/ecolyo.eff4cc1e75bcc37e8fed.js index 59e151a9bde1cabf66db9835f23c29f7fa401c24..2ff7bf2ecb8bd3827b6e719f43ef591e357ae570 100644 --- a/3/ecolyo.ca2bfa3d548c157337bb.js +++ b/3/ecolyo.eff4cc1e75bcc37e8fed.js @@ -1586,7 +1586,7 @@ var EnedisMonthlyAnalysisDataService = /*#__PURE__*/function () { return getLastEnedisMonthlyAnalysis; }() /** - * Aggregates Enedis Analysis data in order to create Dataload inhjectable in graph component + * Aggregates Enedis Analysis data in order to create Dataload injectable in graph component * @param {EnedisMonthlyAnalysisData} data * @returns {AggregatedEnedisMonthlyDataloads} */ diff --git a/app/ecolyo.76f0a15523dbb19ee8fd.js b/app/ecolyo.8dc856ba9fae34d18d43.js similarity index 99% rename from app/ecolyo.76f0a15523dbb19ee8fd.js rename to app/ecolyo.8dc856ba9fae34d18d43.js index 1cce22a2052e5371b50aa2e26cc43e2393b67737..344a40a9d45e4d295900365a4c942feb8124f8fa 100644 --- a/app/ecolyo.76f0a15523dbb19ee8fd.js +++ b/app/ecolyo.8dc856ba9fae34d18d43.js @@ -64,7 +64,7 @@ /******/ /******/ // script path function /******/ function jsonpScriptSrc(chunkId) { -/******/ return __webpack_require__.p + "" + ({}[chunkId]||chunkId) + "/ecolyo." + {"1":"c44aefc530d1de68ee3f","3":"ca2bfa3d548c157337bb","4":"8dbc60519627bd9bef5e","5":"8aa52fadbb475400faa5","6":"c03889ab8782bad3bebe","7":"1850b6ce28566211a509","8":"5a104e5906433ba909f2","9":"d4e0f8345c64c54574af"}[chunkId] + ".js" +/******/ return __webpack_require__.p + "" + ({}[chunkId]||chunkId) + "/ecolyo." + {"1":"c44aefc530d1de68ee3f","3":"eff4cc1e75bcc37e8fed","4":"8dbc60519627bd9bef5e","5":"8aa52fadbb475400faa5","6":"c03889ab8782bad3bebe","7":"1850b6ce28566211a509","8":"5a104e5906433ba909f2","9":"d4e0f8345c64c54574af"}[chunkId] + ".js" /******/ } /******/ /******/ // The require function diff --git a/index.html b/index.html index 441542f51fd18395a7f62d5dd95fa16eb79aedd3..665a6bbeedb5431a68041467e2fac4eef98b6778 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.18c101a0fa585f93c419.js"></script><script src="app/ecolyo.76f0a15523dbb19ee8fd.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.18c101a0fa585f93c419.js"></script><script src="app/ecolyo.8dc856ba9fae34d18d43.js"></script></div></body></html> \ No newline at end of file diff --git a/services/enedisHalfHourMonthlyAnalysis/ecolyo.js b/services/enedisHalfHourMonthlyAnalysis/ecolyo.js index 27f48ab6fe050394bda18bcc8cadb1700d82a0bc..15bc8ffec7aed8b89c6f70a23a3e2394c739d868 100644 --- a/services/enedisHalfHourMonthlyAnalysis/ecolyo.js +++ b/services/enedisHalfHourMonthlyAnalysis/ecolyo.js @@ -98415,9 +98415,9 @@ const populateArrayWithTotalData = (monthlyArray, dataChart, isWeekend) => { if (halfHourValue >= 0) { if (!monthlyArray[index]) { monthlyArray.push([]); + } else { + monthlyArray[index] = [...monthlyArray[index], halfHourValue]; } - - monthlyArray[index] = [...monthlyArray[index], halfHourValue]; } }); } @@ -98478,7 +98478,7 @@ const getEnedisMonthAnalysisData = async (client, month, year) => { }; if (data) { - // 48 is the number of halfhour entries in a day + // 48 is the number of half-hour entries in a day const weekEndValuesArray = new Array([]); const weekValuesArray = new Array([]); @@ -98565,7 +98565,7 @@ const syncEnedisMonthlyAnalysisDataDoctype = async ({ } } - logStack('info', 'Getting first endis half hour data date'); + logStack('info', 'Getting first enedis half hour data date'); if (lastEnedisMonthlyAnalysis.length > 0) { var _firstEnedisMonthlyAn, _firstEnedisMonthlyAn2; @@ -98574,10 +98574,10 @@ const syncEnedisMonthlyAnalysisDataDoctype = async ({ const firstEnedisMonthlyAnalysis = await cs.getFirsDataDateFromDoctype(_doctypes.ENEDIS_MONTHLY_ANALYSIS_DATA_DOCTYPE); if (((_firstEnedisMonthlyAn = firstEnedisMonthlyAnalysis[0]) === null || _firstEnedisMonthlyAn === void 0 ? void 0 : _firstEnedisMonthlyAn.month) === firstMinuteData[0].month && ((_firstEnedisMonthlyAn2 = firstEnedisMonthlyAnalysis[0]) === null || _firstEnedisMonthlyAn2 === void 0 ? void 0 : _firstEnedisMonthlyAn2.year) === firstMinuteData[0].year) { - logStack('info', 'Every Enedis Anlysis already synchronized'); + logStack('info', 'Every Enedis Analysis already synchronized'); return; } else if (firstEnedisMonthlyAnalysis) { - logStack('info', 'Doctype is partially completed, fetiching all available history'); + logStack('info', 'Doctype is partially completed, fetching all available history'); const firstEnedisMonthlyAnalysisDate = _luxon.DateTime.fromObject({ year: firstEnedisMonthlyAnalysis[0].year, @@ -98736,7 +98736,7 @@ class EnedisMonthlyAnalysisDataService { return data.data; } /** - * Aggregates Enedis Analysis data in order to create Dataload inhjectable in graph component + * Aggregates Enedis Analysis data in order to create Dataload injectable in graph component * @param {EnedisMonthlyAnalysisData} data * @returns {AggregatedEnedisMonthlyDataloads} */