removed units from readings in KS300

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@1404 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
borisneubert 2012-04-01 17:50:56 +00:00
parent 472cd99092
commit 58ef5ee1ec

View File

@ -235,7 +235,8 @@ KS300_Parse($$)
for(my $i = 0; $i < $max; $i++) { for(my $i = 0; $i < $max; $i++) {
$r->{$txt[$i]}{TIME} = $tm; $r->{$txt[$i]}{TIME} = $tm;
$val = "$v[$i] $sfx[$i]"; #$val = "$v[$i] $sfx[$i]";
$val = $v[$i];
$r->{$txt[$i]}{VAL} = $val; $r->{$txt[$i]}{VAL} = $val;
$def->{CHANGED}[$n++] = "$txt[$i]: $val" $def->{CHANGED}[$n++] = "$txt[$i]: $val"
if(defined($repchanged{$txt[$i]})); if(defined($repchanged{$txt[$i]}));