2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

32_speedtest.pm: create readings withou units

git-svn-id: https://svn.fhem.de/fhem/trunk@11378 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2016-05-03 12:34:13 +00:00
parent 7a8dca5ca0
commit ad3d01053b
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,6 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it.
- change: speedtest: create readings without units
- feature: HUEBridge,HUEDevice,LightScene: use new HUE scenes api
- feature: 74:AMAD: add Attribut for TTS speed and notify file path
- bugfix : 74:AMAD: modify informationsflow

View File

@ -160,6 +160,10 @@ speedtest_SpeedtestDone($)
return;
}
$a[1] =~ s/\s.*// if( defined($a[1]) );
$a[2] =~ s/\s.*// if( defined($a[2]) );
$a[3] =~ s/\s.*// if( defined($a[3]) );
readingsBeginUpdate($hash);
readingsBulkUpdate($hash,"ping",$a[1]);