From 3298a1e8cfb608ea674ca3f01444f0f20aa9ecda Mon Sep 17 00:00:00 2001 From: fhemzap <> Date: Sat, 5 Dec 2015 19:00:40 +0000 Subject: [PATCH] HMCCUCHN: Fixed wrong CCU device name during device definition git-svn-id: https://svn.fhem.de/fhem/trunk@10102 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/HMCCU/88_HMCCUCHN.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fhem/contrib/HMCCU/88_HMCCUCHN.pm b/fhem/contrib/HMCCU/88_HMCCUCHN.pm index 6c6412b26..766c82178 100644 --- a/fhem/contrib/HMCCU/88_HMCCUCHN.pm +++ b/fhem/contrib/HMCCU/88_HMCCUCHN.pm @@ -79,14 +79,14 @@ sub HMCCUCHN_Define ($@) # CCU Channel address with interface $hash->{ccuif} = $1; $hash->{ccuaddr} = $2; - $hash->{ccuname} = HMCCU_GetDeviceName ($hash->{ccuaddr}, ''); + $hash->{ccuname} = HMCCU_GetChannelName ($hash->{ccuaddr}, ''); return "CCU device name not found for channel address $devspec" if ($hash->{ccuname} eq ''); } elsif ($devspec =~ /^[A-Z]{3,3}[0-9]{7,7}:[0-9]+$/) { # CCU Channel address $hash->{ccuaddr} = $devspec; $hash->{ccuif} = HMCCU_GetDeviceInterface ($hash->{ccuaddr}, 'BidCos-RF'); - $hash->{ccuname} = HMCCU_GetDeviceName ($devspec, ''); + $hash->{ccuname} = HMCCU_GetChannelName ($devspec, ''); return "CCU device name not found for channel address $devspec" if ($hash->{ccuname} eq ''); } else {