fix rendering for solar module

This commit is contained in:
Paul
2019-09-01 12:11:38 +02:00
parent e2e727c94c
commit 5e8f21552b
2 changed files with 4 additions and 4 deletions

View File

@@ -147,9 +147,9 @@ function listCustomStats() {
document.getElementById("sm2").innerHTML = ajaxobj.sm.sm2 + " ℃";
document.getElementById("sm3").innerHTML = ajaxobj.sm.sm3 + " %";
document.getElementById("sm4").innerHTML = ajaxobj.sm.sm4;
document.getElementById("sm5").innerHTML = ajaxobj.sm.sm4 + " Wh";
document.getElementById("sm6").innerHTML = ajaxobj.sm.sm4 + " Wh";
document.getElementById("sm7").innerHTML = ajaxobj.sm.sm4 + " KWh";
document.getElementById("sm5").innerHTML = ajaxobj.sm.sm5 + " Wh";
document.getElementById("sm6").innerHTML = ajaxobj.sm.sm6 + " Wh";
document.getElementById("sm7").innerHTML = ajaxobj.sm.sm7 + " KWh";
} else {
document.getElementById("sm_show").style.display = "none";
}

View File

@@ -155,7 +155,7 @@ function sendStatus() {
function sendCustomStatus() {
var stats = {
"command": "custom_status",
"version": "1.9.0b7",
"version": "1.9.0",
"customname": "EMS-ESP",
"appurl": "https://github.com/proddy/EMS-ESP",
"updateurl": "https://api.github.com/repos/proddy/EMS-ESP/releases/latest",