98_DOIF.pm: DOIF_Readings now with new line

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17789 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Damian 2018-11-19 21:22:40 +00:00
parent f8fc4e57aa
commit 4f227d4aca

View File

@ -1316,6 +1316,7 @@ sub addDOIF_Readings($$)
my ($hash,$DOIF_Readings) = @_; my ($hash,$DOIF_Readings) = @_;
delete $hash->{DOIF_Readings}; delete $hash->{DOIF_Readings};
delete $hash->{Regex}{DOIF_Readings}; delete $hash->{Regex}{DOIF_Readings};
$DOIF_Readings =~ s/\n/ /g;
my @list=SplitDoIf(',',$DOIF_Readings); my @list=SplitDoIf(',',$DOIF_Readings);
my $reading; my $reading;
my $readingdef; my $readingdef;