diff --git a/.vscode/settings.json b/.vscode/settings.json index 2da2aa9b38ccba113bc1e6f64842a11622e67822..05e6af9250fc4b9fd60692e0446e043566a187b8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -85,6 +85,7 @@ "Enedis", "ENEDIS", "enedissgegrandlyon", + "energical", "Epgl", "esnext", "firstname", @@ -141,6 +142,7 @@ "sendmail", "SHARAPOWATT", "shortcodes", + "Smartmeter", "splashscreen", "swipeable", "Swipeable", diff --git a/manifest.webapp b/manifest.webapp index 9b8765136d8184fcee9df429554880e53eea2980..225fa157c96e104027937f07d23f3dac6f080fe4 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -109,13 +109,13 @@ "description": "Required for the correct functioning of the energy and water connectors." }, "terms": { - "description": "Required for the correct managment of CGU." + "description": "Required for the correct management of CGU." }, "apps": { "description": "Required to display the icons of installed applications in the Cozy bar." }, "settings": { - "description": "Required for the application's consents managment" + "description": "Required for the application's consents management" }, "ecolyo-dju": { "description": "Required to gather udd data (Unified Degree Days), a meteorological data allowing the app to adjust our energical consumption model. " @@ -244,7 +244,7 @@ "verbs": ["GET"] }, "ecolyo-avg-temperature": { - "type": "org.ecolyo.avg-temperature", + "type": "org.ecolyo.avg_temperature", "verbs": ["GET"] }, "dacc": { diff --git a/src/doctypes/remote/org.ecolyo.avg-temperature.ts b/src/doctypes/remote/org.ecolyo.avg_temperature.ts similarity index 55% rename from src/doctypes/remote/org.ecolyo.avg-temperature.ts rename to src/doctypes/remote/org.ecolyo.avg_temperature.ts index ff3c5e7a4365981943d9689e1bf5893bc05189ab..5173322d251b4bc78026874bf70ef11bed665271 100644 --- a/src/doctypes/remote/org.ecolyo.avg-temperature.ts +++ b/src/doctypes/remote/org.ecolyo.avg_temperature.ts @@ -1,2 +1,2 @@ export const REMOTE_ORG_ECOLYO_AVG_TEMPERATURE = - '/remote/org.ecolyo.avg-temperature' + '/remote/org.ecolyo.avg_temperature' diff --git a/src/services/consumption.service.ts b/src/services/consumption.service.ts index 68551b7a800a16515f6ff630bf7b989f3b86ce8b..57ccc0eb33b970a7634eee1983bcdeb40d89907a 100644 --- a/src/services/consumption.service.ts +++ b/src/services/consumption.service.ts @@ -3,7 +3,7 @@ import { Client, Q, QueryDefinition, QueryResult } from 'cozy-client' import { Doctype } from 'cozy-client/types/types' import logger from 'cozy-logger' import { ENEDIS_MINUTE_DOCTYPE } from 'doctypes' -import { REMOTE_ORG_ECOLYO_AVG_TEMPERATURE } from 'doctypes/remote/org.ecolyo.avg-temperature' +import { REMOTE_ORG_ECOLYO_AVG_TEMPERATURE } from 'doctypes/remote/org.ecolyo.avg_temperature' import { DataloadState, FluidType, TimeStep } from 'enums' import { DateTime } from 'luxon' import {