fix NTP 2902 и мелкие правки

This commit is contained in:
Mit4el
2024-03-12 00:16:09 +03:00
parent d00eabbe0a
commit b228603158
4 changed files with 19 additions and 17 deletions

View File

@@ -56,7 +56,8 @@ namespace _Boiler_v2
tmp = findIoTItem(widget);
if (tmp)
{
tmp->setValue(value, true);
if (value != tmp->value.valS)
tmp->setValue(value, true);
}
else
{
@@ -902,7 +903,7 @@ namespace _Boiler_v2
//}
if (!state.stateDHW) // Если уже включено ГВС, то нечего смотреть на отопление
{
if (set.cmd_chEnable && stepMap.size()>0)
if (set.cmd_chEnable && stepMap.size() > 0)
{
SerialPrint("I", "SmartBoiler", " stepMap.size = " + String(stepMap.size()));
publishNew("status", "Штатный режим");