98_weekprofile: fix rereadcfg

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10598 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
risiko79
2016-01-22 18:27:33 +00:00
parent 86249da6cf
commit 3bc6710955

View File

@@ -777,7 +777,7 @@ sub weekprofile_Notify($$)
next if(!defined($s));
my ($what,$who) = split(' ',$s);
if ($what =~ m/INITIALIZED/) {
if ($what =~ m/INITIALIZED/ || $what =~ m/REREADCFG/) {
splice($own->{PROFILES});
weekprofile_refreshSendDevList($own);
weekprofile_assignDev($own);