mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 02:34:29 +05:00
fix: display of current heating temp on dashboard
This commit is contained in:
@@ -144,14 +144,14 @@
|
||||
<th scope="row" data-i18n>dashboard.states.sHeatActive</th>
|
||||
<td><input type="radio" class="sHeatActive" aria-invalid="false" checked disabled /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" data-i18n>dashboard.states.mHeatSetpointTemp</th>
|
||||
<td><b class="mHeatSetpointTemp"></b> <span class="tempUnit"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" data-i18n>dashboard.states.mHeatTargetTemp</th>
|
||||
<td><b class="mHeatTargetTemp"></b> <span class="tempUnit"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" data-i18n>dashboard.states.mHeatSetpointTemp</th>
|
||||
<td><b class="mHeatSetpointTemp"></b> <span class="tempUnit"></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" data-i18n>dashboard.states.mHeatCurrTemp</th>
|
||||
<td><b class="mHeatCurrTemp"></b> <span class="tempUnit"></span></td>
|
||||
@@ -409,7 +409,7 @@
|
||||
const result = await response.json();
|
||||
|
||||
// Graph
|
||||
setValue('#tHeatCurrentTemp', result.master.indoorTempControl
|
||||
setValue('#tHeatCurrentTemp', result.master.heating.indoorTempControl
|
||||
? result.master.heating.indoorTemp
|
||||
: result.master.heating.currentTemp
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user