mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-11 18:54:28 +05:00
feat: setting the cooling setpoint if cooling support is enabled
This commit is contained in:
@@ -154,9 +154,14 @@
|
||||
<th scope="row" data-i18n>dashboard.states.sFlame</th>
|
||||
<td><i class="sFlame"></i></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<th scope="row" data-i18n>dashboard.states.sCooling</th>
|
||||
<td><i class="sCooling"></i></td>
|
||||
<th scope="row" data-i18n>dashboard.states.sCoolingActive</th>
|
||||
<td><i class="sCoolingActive"></i></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" data-i18n>dashboard.states.sCoolingSetpoint</th>
|
||||
<td><b class="sCoolingSetpoint"></b> %</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@@ -558,7 +563,9 @@
|
||||
result.slave.connected ? "green" : "red"
|
||||
);
|
||||
setState('.sFlame', result.slave.flame);
|
||||
setState('.sCooling', result.slave.cooling);
|
||||
|
||||
setState('.sCoolingActive', result.slave.cooling.active);
|
||||
setValue('.sCoolingSetpoint', result.slave.cooling.setpoint);
|
||||
|
||||
setValue('.sModMin', result.slave.modulation.min);
|
||||
setValue('.sModMax', result.slave.modulation.max);
|
||||
|
||||
Reference in New Issue
Block a user