From dc244b3b0886a7535515d00585fe0b186d4cc416 Mon Sep 17 00:00:00 2001 From: fhemzap <> Date: Tue, 9 Aug 2016 16:15:34 +0000 Subject: [PATCH] HMCCU: Fixed reading update bug git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11929 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/HMCCU/FHEM/88_HMCCU.pm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/HMCCU/FHEM/88_HMCCU.pm b/contrib/HMCCU/FHEM/88_HMCCU.pm index eaa607ebf..7bdeef9d0 100644 --- a/contrib/HMCCU/FHEM/88_HMCCU.pm +++ b/contrib/HMCCU/FHEM/88_HMCCU.pm @@ -1288,10 +1288,10 @@ sub HMCCU_UpdateClientReading ($@) my $chnadd = $channel ne '' ? $devadd.':'.$channel : $devadd; my $hmccu_value = ''; - my $dpt = ''; - if ($reading =~ /.*\.(.+)$/) { - $dpt = $1; - } +# my $dpt = ''; +# if ($reading =~ /.*\.(.+)$/) { +# $dpt = $1; +# } if ($hmccu_updreadings && $updatemode ne 'client') { $hmccu_value = HMCCU_Substitute ($value, $hmccu_substitute, 0, $reading);