From 1f1beeeaef8e4292b1d15f26fe6bb07b4aceda9e Mon Sep 17 00:00:00 2001 From: Ellert <> Date: Sat, 24 Jun 2023 06:12:34 +0000 Subject: [PATCH] 74_AutomowerConnect: Common.pm, automowerconnect.js, fix error that prevent modul loading git-svn-id: https://svn.fhem.de/fhem/trunk@27703 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/lib/FHEM/Devices/AMConnect/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/lib/FHEM/Devices/AMConnect/Common.pm b/fhem/lib/FHEM/Devices/AMConnect/Common.pm index f13d671f9..de2eb249d 100644 --- a/fhem/lib/FHEM/Devices/AMConnect/Common.pm +++ b/fhem/lib/FHEM/Devices/AMConnect/Common.pm @@ -1403,7 +1403,7 @@ sub Attr { if( $cmd eq "set" ) { - return "$iam $attrVal is invalid, allowed time in seconds >= 0." unless( $attrVal >= 0 ) ); + return "$iam $attrVal is invalid, allowed time in seconds >= 0." unless( $attrVal >= 0 ); $hash->{helper}{additional_polling} = $attrVal; Log3 $name, 4, "$iam $cmd $attrName $attrVal";