From 78f76ef7c3dc8fc834ac49291fd89854a3cb087b Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 2 Sep 2018 09:35:58 +0000 Subject: [PATCH] 90_at.pm: Fix modify at from relative to one-time (Forum #90764) git-svn-id: https://svn.fhem.de/fhem/trunk@17252 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/90_at.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fhem/FHEM/90_at.pm b/fhem/FHEM/90_at.pm index 4179f0ada..81b1f038e 100644 --- a/fhem/FHEM/90_at.pm +++ b/fhem/FHEM/90_at.pm @@ -120,9 +120,11 @@ at_Define($$) return undef if($cnt eq "0"); $cnt = 0 if(!$cnt); $cnt--; + delete($hash->{VOLATILE}); # Modify $hash->{REP} = $cnt; } else { $hash->{VOLATILE} = 1; # Write these entries to the statefile + delete($hash->{REP}); # Modify } my $alTime = AttrVal($name, "alignTime", undef);