diff --git a/fhem/fhem.pl b/fhem/fhem.pl index f39e6ef1b..f062721b5 100755 --- a/fhem/fhem.pl +++ b/fhem/fhem.pl @@ -1031,6 +1031,8 @@ CommandSave($$) my ($cl, $param) = @_; my $ret = ""; + DoTrigger("global", "SAVE", 1); + WriteStatefile(); $param = $attr{global}{configfile} if(!$param);