98_weekprofile: fix warning use of uninitialized value $attrMap

git-svn-id: https://svn.fhem.de/fhem/trunk@23760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Risiko
2021-02-17 18:52:35 +00:00
parent 93e6290af2
commit e45642be0a

View File

@@ -1409,7 +1409,7 @@ sub weekprofile_createTempMap($) {
my $tempMap = AttrVal($me,"tempMap", $attrMap);
return if (!defined($tempMap));
Log3($me, 2, "$me(weekprofile_createTempMap): create map from $attrMap");
Log3($me, 2, "$me(weekprofile_createTempMap): create map from $tempMap");
$tempMap .= ',';
my @data = split(',',$tempMap);