From c5db95ad47c7d0ae621a28b28f98e18b3680137e Mon Sep 17 00:00:00 2001 From: deespe <> Date: Mon, 17 Oct 2016 22:18:20 +0000 Subject: [PATCH] 98_Hyperion: changed last multiple readingsSingleUpdate to readingsBulkUpdate git-svn-id: https://svn.fhem.de/fhem/trunk@12370 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_Hyperion.pm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/98_Hyperion.pm b/fhem/FHEM/98_Hyperion.pm index 0cc96505b..d986e3c06 100644 --- a/fhem/FHEM/98_Hyperion.pm +++ b/fhem/FHEM/98_Hyperion.pm @@ -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"; } }