mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
HMCCU: Fixed reading update bug
git-svn-id: https://svn.fhem.de/fhem/trunk@11929 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fcb85299fe
commit
b3d2bb975f
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user