From cf45f465c8b3126cb912c334da3acb2daaaac2c5 Mon Sep 17 00:00:00 2001 From: nasseeder1 Date: Tue, 17 Mar 2020 18:15:31 +0000 Subject: [PATCH] 77_SMAEM.pm: contrib 4.1.0 git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@21441 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- contrib/DS_Starter/77_SMAEM.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/DS_Starter/77_SMAEM.pm b/contrib/DS_Starter/77_SMAEM.pm index f1932d069..d880d7d2d 100644 --- a/contrib/DS_Starter/77_SMAEM.pm +++ b/contrib/DS_Starter/77_SMAEM.pm @@ -31,6 +31,7 @@ use strict; use warnings; use bignum; use IO::Socket::Multicast; +eval "use IO::Interface;1"; use Blocking; eval "use FHEM::Meta;1" or my $modMetaAbsent = 1; @@ -169,7 +170,7 @@ sub SMAEM_Define ($$) { my $socket; my @a = split("[ \t][ \t]*", $def); - my $if = $a[2] ? "'".$a[2]."'" : ""; + my $if = $a[2] ? $a[2] : ""; $hash->{INTERVAL} = 60; $hash->{HELPER}{FAULTEDCYCLES} = 0;