From aea1bf90b33f4a03a57546701599bdabf15b5b98 Mon Sep 17 00:00:00 2001 From: herrmannj <> Date: Thu, 14 Jan 2016 11:46:48 +0000 Subject: [PATCH] 32_TechemHKV.pm: cosemtic undef warn msg removed git-svn-id: https://svn.fhem.de/fhem/trunk@10500 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/32_TechemHKV.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/32_TechemHKV.pm b/fhem/FHEM/32_TechemHKV.pm index f2dca0bbe..019731349 100644 --- a/fhem/FHEM/32_TechemHKV.pm +++ b/fhem/FHEM/32_TechemHKV.pm @@ -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/ );