refactor: more logs; improved sensor of current boiler power: added settings min & max boiler power

This commit is contained in:
Yurii
2024-10-15 02:10:46 +03:00
parent dc62f99b7d
commit a9e97c15ad
10 changed files with 235 additions and 103 deletions

View File

@@ -159,12 +159,8 @@
<td><b id="ot-dhw-flow-rate"></b> <span class="volume-unit"></span>/min</td>
</tr>
<tr>
<th scope="row" data-i18n>dashboard.state.maxPower</th>
<td><b id="ot-max-power"></b> <span data-i18n>kw</span></td>
</tr>
<tr>
<th scope="row" data-i18n>dashboard.state.currentPower</th>
<td><b id="ot-current-power"></b> <span data-i18n>kw</span></td>
<th scope="row" data-i18n>dashboard.state.power</th>
<td><b id="ot-power"></b> <span data-i18n>kw</span></td>
</tr>
<tr>
<th scope="row" data-i18n>dashboard.state.faultCode</th>
@@ -442,8 +438,7 @@
setValue('#ot-modulation', result.sensors.modulation);
setValue('#ot-pressure', result.sensors.pressure);
setValue('#ot-dhw-flow-rate', result.sensors.dhwFlowRate);
setValue('#ot-max-power', result.sensors.maxPower);
setValue('#ot-current-power', result.sensors.currentPower);
setValue('#ot-power', result.sensors.power);
setValue(
'#ot-fault-code',
result.sensors.faultCode