mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 19:36:02 +00:00
33_readingsHistory.pm: small cleanup
git-svn-id: https://svn.fhem.de/fhem/trunk@10017 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1678191cad
commit
595fcc4700
@ -426,9 +426,7 @@ readingsHistory_Notify($$)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my @parts = split(/: /,$s);
|
my ($reading,$value) = split(": ", $s, 2);
|
||||||
my $reading = shift @parts;
|
|
||||||
my $value = join(": ", @parts);
|
|
||||||
|
|
||||||
$reading = "" if( !defined($reading) );
|
$reading = "" if( !defined($reading) );
|
||||||
next if( $reading =~ m/^\./);
|
next if( $reading =~ m/^\./);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user