2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 04:36:36 +00:00

HMCCU: Update for version 4.4 beta

git-svn-id: https://svn.fhem.de/fhem/trunk@20940 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
zap 2020-01-11 16:54:40 +00:00
parent 9c184ae6e1
commit 4d2384d399

View File

@ -404,13 +404,13 @@ sub HMCCURPCPROC_InitDevice ($$) {
}
# Read RPC device descriptions
# if ($dev_hash->{rpcinterface} ne 'CUxD') {
# HMCCU_Log ($dev_hash, 1, "Updating internal device tables");
# HMCCU_ResetDeviceTables ($hmccu_hash, $dev_hash->{rpcinterface});
# my $cd = HMCCURPCPROC_GetDeviceDesc ($dev_hash);
# my $cm = HMCCURPCPROC_GetParamsetDesc ($dev_hash);
# HMCCU_Log ($dev_hash, 1, "Read $cd channel and device descriptions and $cm device models from CCU");
# }
if ($dev_hash->{rpcinterface} ne 'CUxD') {
HMCCU_Log ($dev_hash, 1, "Updating internal device tables");
HMCCU_ResetDeviceTables ($hmccu_hash, $dev_hash->{rpcinterface});
my $cd = HMCCURPCPROC_GetDeviceDesc ($dev_hash);
my $cm = HMCCURPCPROC_GetParamsetDesc ($dev_hash);
HMCCU_Log ($dev_hash, 1, "Read $cd channel and device descriptions and $cm device models from CCU");
}
# RPC device ready
HMCCURPCPROC_ResetRPCState ($dev_hash);