mirror of https://github.com/arendst/Tasmota.git
Fix for not sending changes to mqtt (#18600)
Co-authored-by: JeroenSt <nospam@nospam.org>
This commit is contained in:
parent
6cb92ffe49
commit
45eb82bc3f
|
@ -430,7 +430,7 @@ void HxEvery100mSecond(void) {
|
|||
Hx.weight_diff = Hx.weight;
|
||||
Hx.weight_changed = true;
|
||||
}
|
||||
else if (Hx.weight_changed && (Hx.weight == Hx.weight_diff)) {
|
||||
else if (Hx.weight_changed && (abs(Hx.weight - Hx.weight_diff) < Hx.weight_delta)) {
|
||||
ResponseClear();
|
||||
ResponseAppendTime();
|
||||
HxShow(true);
|
||||
|
|
Loading…
Reference in New Issue