55_GDS.pm: fixed readingsUpdate

git-svn-id: https://svn.fhem.de/fhem/trunk@11734 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
betateilchen
2016-07-03 14:12:48 +00:00
parent ccdff1fb9e
commit 9cc9a8518e

View File

@@ -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);