refresh data greater smaller fix
This commit is contained in:
parent
9572c8d9fc
commit
f680d70548
|
@ -325,7 +325,7 @@ public class ComboPlugin implements PluginBase, PumpInterface {
|
|||
|
||||
if (!reason.toLowerCase().contains("user")
|
||||
&& lastCmdTime.getTime() > 0
|
||||
&& System.currentTimeMillis() > lastCmdTime.getTime() + 60 * 1000) {
|
||||
&& System.currentTimeMillis() < lastCmdTime.getTime() + 60 * 1000) {
|
||||
log.debug("Not fetching state from pump, since we did already within the last 60 seconds");
|
||||
} else {
|
||||
runCommand(new ReadPumpStateCommand());
|
||||
|
|
Loading…
Reference in a new issue