From 9cc9a8518eda5b67db10af5851e0189b2d95b74e Mon Sep 17 00:00:00 2001 From: betateilchen Date: Sun, 3 Jul 2016 14:12:48 +0000 Subject: [PATCH] 55_GDS.pm: fixed readingsUpdate git-svn-id: https://svn.fhem.de/fhem/trunk@11734 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/GDS/55_GDS.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/GDS/55_GDS.pm b/fhem/contrib/GDS/55_GDS.pm index 2675706c4..01fe2e668 100644 --- a/fhem/contrib/GDS/55_GDS.pm +++ b/fhem/contrib/GDS/55_GDS.pm @@ -1,4 +1,4 @@ -# $Id: 55_GDS.pm 11367 2016-05-02 17:22:34Z betateilchen $ +# $Id$ # copyright and license informations =pod @@ -1023,7 +1023,7 @@ sub decodeCAPData($$$){ my $r = ReadingsVal($name, 'a_'.$anum.'_eventCode_AREA_COLOR', ''); if(length($r)) { my $v = sprintf( "%02x%02x%02x", split(" ", $r)); - readingsBulkUpdate($hash, 'a_'.$anum.'_eventCode_AREA_COLOR_hex', $v); + readingsSingleUpdate($hash, 'a_'.$anum.'_eventCode_AREA_COLOR_hex', $v,1); } readingsEndUpdate($hash, 1);