From d24f13f6aceaa3ee422ce25d456fed0b75713c48 Mon Sep 17 00:00:00 2001 From: ntruchsess Date: Sat, 22 Mar 2014 17:08:16 +0000 Subject: [PATCH] OWID: fix 'Warning, no 1-Wire I/O device found for ...' git-svn-id: https://svn.fhem.de/fhem/trunk@5296 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/21_OWID.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/21_OWID.pm b/fhem/FHEM/21_OWID.pm index 806b609f0..9f2dbda83 100644 --- a/fhem/FHEM/21_OWID.pm +++ b/fhem/FHEM/21_OWID.pm @@ -177,7 +177,7 @@ sub OWID_Define ($$) { #-- Couple to I/O device AssignIoPort($hash); - if( !defined($hash->{IODev}->{NAME}) | !defined($hash->{IODev}) | !defined($hash->{IODev}->{PRESENT}) ){ + if( !defined($hash->{IODev}->{NAME}) | !defined($hash->{IODev}) ){ return "OWID: Warning, no 1-Wire I/O device found for $name."; } $modules{OWID}{defptr}{$id} = $hash;