BugFix foe: "For repeating at's the config file gets lost."
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2366 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -131,6 +131,7 @@ at_Exec($)
|
|||||||
|
|
||||||
$data{AT_RECOMPUTE} = 1; # Tell sunrise compute the next day
|
$data{AT_RECOMPUTE} = 1; # Tell sunrise compute the next day
|
||||||
CommandDefine(undef, "$name at $def"); # Recompute the next TRIGGERTIME
|
CommandDefine(undef, "$name at $def"); # Recompute the next TRIGGERTIME
|
||||||
|
$hash = $defs{$name};
|
||||||
delete($data{AT_RECOMPUTE});
|
delete($data{AT_RECOMPUTE});
|
||||||
$attr{$name} = $oldattr;
|
$attr{$name} = $oldattr;
|
||||||
$hash->{CFGFN} = $oldCfgfn if($oldCfgfn);
|
$hash->{CFGFN} = $oldCfgfn if($oldCfgfn);
|
||||||
|
|||||||
Reference in New Issue
Block a user