2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 10:46:53 +00:00

32_TechemHKV.pm: cosemtic undef warn msg removed

git-svn-id: https://svn.fhem.de/fhem/trunk@10500 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
herrmannj 2016-01-14 11:46:48 +00:00
parent 37fbcb5453
commit aea1bf90b3

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