mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-09 20:57:11 +00:00
AMConnect/Common.pm: remove error display faster after error correction
git-svn-id: https://svn.fhem.de/fhem/trunk@27230 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
cfe8e37491
commit
17745b0ff2
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- feature: AutomowerConnect:remove error display faster after error correction
|
||||
- change: 50_TelegramBot: new reading msgDate and corrections
|
||||
- feature: 72_FRITZBOX: Attr. enableWanInfo -> enableWLANneighbors
|
||||
Attr. wlanNeighborsPrefix
|
||||
|
@ -711,6 +711,7 @@ sub AlignArray {
|
||||
|
||||
}
|
||||
|
||||
resetLastErrorIfCorrected($hash);
|
||||
$hash->{helper}{newdatasets} = $i;
|
||||
$hash->{helper}{searchpos} = [ dclone( $hash->{helper}{mower}{attributes}{positions}[0] ), dclone( $hash->{helper}{mower}{attributes}{positions}[1] ) ];
|
||||
return undef;
|
||||
@ -748,7 +749,15 @@ sub isErrorThanPrepare {
|
||||
|
||||
}
|
||||
|
||||
} elsif (!$hash->{helper}{mower}{attributes}{mower}{errorCodeTimestamp} && $hash->{helper}{lasterror}{timestamp} ) {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#########################
|
||||
sub resetLastErrorIfCorrected {
|
||||
my ( $hash ) = @_;
|
||||
|
||||
if (!$hash->{helper}{mower}{attributes}{mower}{errorCodeTimestamp} && $hash->{helper}{lasterror}{timestamp} ) {
|
||||
|
||||
$hash->{helper}{lasterror}{positions} = [];
|
||||
$hash->{helper}{lasterror}{timestamp} = 0;
|
||||
@ -762,7 +771,6 @@ sub isErrorThanPrepare {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#########################
|
||||
sub isGoodActivity {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user