Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manual counter 'Electricité" on dashboard displays 'L' instead of 'kWh' #7

Open
artlog opened this issue Apr 1, 2022 · 1 comment

Comments

@artlog
Copy link

artlog commented Apr 1, 2022

Ajout d'une valuer dans le compteur « Élec manuel » et visiualisation avec l'icone graphe

Conso du compteur « Élec manuel »

Date Index (kWh) Conso Moyenne  
1er avr. 2901 98 L 24,5 L/jour

L/jour au lieu de kWh/jour

@artlog
Copy link
Author

artlog commented Apr 1, 2022

Hardcoded in dashboard.gsp javascript :

let entries = new CounterEntries("kWh", "L", <%= electricityIndices %>);

should be

let entries = new CounterEntries("kWh", "kWh", <%= electricityIndices %>);

artlog added a commit to artlog/consoherozh that referenced this issue Apr 1, 2022
…ead of 'kWh' consometers#7

- replace 'L' by 'kWh' in electricity counter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant