mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-25 11:46:31 +00:00
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_diff = Hx.weight;
|
||||||
Hx.weight_changed = true;
|
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();
|
ResponseClear();
|
||||||
ResponseAppendTime();
|
ResponseAppendTime();
|
||||||
HxShow(true);
|
HxShow(true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user