mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-19 18:56:03 +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 = shift @parts;
|
||||
my $value = join(": ", @parts);
|
||||
my ($reading,$value) = split(": ", $s, 2);
|
||||
|
||||
$reading = "" if( !defined($reading) );
|
||||
next if( $reading =~ m/^\./);
|
||||
|
Loading…
x
Reference in New Issue
Block a user