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:
herrmannj
2016-01-14 11:46:48 +00:00
parent 83c3bc0262
commit 5e9144505d

View File

@@ -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/ );