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