diff --git a/src_data/pages/settings.html b/src_data/pages/settings.html index 1e66fb3..7b0e7d0 100644 --- a/src_data/pages/settings.html +++ b/src_data/pages/settings.html @@ -105,7 +105,7 @@ - +
@@ -340,7 +340,7 @@
- +
settings.section.equitherm
@@ -365,7 +365,7 @@
- +

- +
settings.section.pid
@@ -446,7 +446,7 @@ settings.temp.min - + - + - + - +
- +
@@ -916,7 +916,7 @@ datasets: [{ borderColor: (context) => { const chart = context.chart; - const {ctx, chartArea} = chart; + const { ctx, chartArea } = chart; if (!chartArea) { return; @@ -1032,8 +1032,8 @@ 1 / etChartConfig.exponent ); const result = etChartConfig.targetTemp + etChartConfig.shift + sf * ( - tempDelta >= 0 - ? Math.pow(tempDelta, 1 / etChartConfig.exponent) + tempDelta >= 0 + ? Math.pow(tempDelta, 1 / etChartConfig.exponent) : -(Math.pow(-(tempDelta), 1 / etChartConfig.exponent)) ); @@ -1218,7 +1218,7 @@ const etMinTemp = parseInt(data.system.unitSystem == 0 ? 5 : 41); const etMaxTemp = parseInt(data.system.unitSystem == 0 ? 30 : 86); const etTargetTemp = constrain(parseFloat(data.heating.target), etMinTemp, etMaxTemp); - + setInputValue(".etChartTargetTemp", etTargetTemp.toFixed(1), { "min": etMinTemp, "max": etMaxTemp @@ -1261,7 +1261,7 @@ cache: "no-cache", credentials: "include" }); - + if (!response.ok) { throw new Error('Response not valid'); } @@ -1329,7 +1329,7 @@ window.addEventListener('resize', async (event) => { if (etChart) { etChart.resize(); - + if (etChartConfig.decimated != hasNeedDecimationChart()) { makeEquithermChart(); }