32_TechemHKV.pm: cosemtic undef warn msg removed
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@10500 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -167,7 +167,7 @@ TechemHKV_Run(@) {
|
||||
sub
|
||||
TechemHKV_IOPatch(@) {
|
||||
my ($hash, $iodev) = @_;
|
||||
return undef unless (AttrVal($iodev, "rfmode", undef) eq "WMBus_T");
|
||||
return undef unless (AttrVal($iodev, "rfmode", '') eq "WMBus_T");
|
||||
# see if already patched
|
||||
readingsSingleUpdate($hash, "state", "listening", 1);
|
||||
return undef if ($defs{$iodev}{Clients} =~ /TechemHKV/ );
|
||||
|
||||
Reference in New Issue
Block a user