2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-20 07:16:03 +00:00

98_Hyperion: changed last multiple readingsSingleUpdate to readingsBulkUpdate

git-svn-id: https://svn.fhem.de/fhem/trunk@12370 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
deespe 2016-10-17 22:18:20 +00:00
parent c87d628ec2
commit c5db95ad47

View File

@ -547,9 +547,11 @@ sub Hyperion_Set($@)
else
{
Log3 $name,4,"$name: NOT restarted Hyperion with $binpath $confdir$value, status: $status";
readingsSingleUpdate($hash,"lastError",$status,1);
readingsSingleUpdate($hash,"serverResponse","ERROR",1);
readingsSingleUpdate($hash,"state","ERROR",1);
readingsBeginUpdate($hash);
readingsBulkUpdate($hash,"lastError",$status);
readingsBulkUpdate($hash,"serverResponse","ERROR");
readingsBulkUpdate($hash,"state","ERROR");
readingsEndUpdate($hash,1);
return "$name NOT restarted Hyperion with $binpath $confdir$value, status: $status";
}
}