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/fhem@11929 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
780f183163
commit
dc244b3b08
@ -1288,10 +1288,10 @@ sub HMCCU_UpdateClientReading ($@)
|
|||||||
|
|
||||||
my $chnadd = $channel ne '' ? $devadd.':'.$channel : $devadd;
|
my $chnadd = $channel ne '' ? $devadd.':'.$channel : $devadd;
|
||||||
my $hmccu_value = '';
|
my $hmccu_value = '';
|
||||||
my $dpt = '';
|
# my $dpt = '';
|
||||||
if ($reading =~ /.*\.(.+)$/) {
|
# if ($reading =~ /.*\.(.+)$/) {
|
||||||
$dpt = $1;
|
# $dpt = $1;
|
||||||
}
|
# }
|
||||||
|
|
||||||
if ($hmccu_updreadings && $updatemode ne 'client') {
|
if ($hmccu_updreadings && $updatemode ne 'client') {
|
||||||
$hmccu_value = HMCCU_Substitute ($value, $hmccu_substitute, 0, $reading);
|
$hmccu_value = HMCCU_Substitute ($value, $hmccu_substitute, 0, $reading);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user