mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
don't update readings for "Invalid server ID"
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@6102 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a9e39ee835
commit
5eca0ef27a
@ -154,6 +154,8 @@ speedtest_SpeedtestDone($)
|
|||||||
|
|
||||||
Log3 $hash, 5, "speedtest_SpeedtestDone: $string";
|
Log3 $hash, 5, "speedtest_SpeedtestDone: $string";
|
||||||
|
|
||||||
|
return if( $a[1] eq "Invalid server ID" );
|
||||||
|
|
||||||
readingsBeginUpdate($hash);
|
readingsBeginUpdate($hash);
|
||||||
|
|
||||||
readingsBulkUpdate($hash,"ping",$a[1]);
|
readingsBulkUpdate($hash,"ping",$a[1]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user