2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-05-04 01:53:19 +00:00

18_CUL_HOERMANN.pm: fix Syntax errors (Forum #61422)

git-svn-id: https://svn.fhem.de/fhem/trunk@12655 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-11-25 19:20:44 +00:00
parent c1b1af7167
commit bee8b67eab

View File

@ -15,8 +15,7 @@ CUL_HOERMANN_Initialize($)
$hash->{ParseFn} = "CUL_HOERMANN_Parse";
$hash->{SetFn} = "CUL_HOERMANN_Set";
$hash->{AttrList} = "IODev do_not_notify:1,0 ignore:0,1 showtime:1,0 ".
"disable:0,1 disabledForIntervals ".
"disable:0,1 disabledForIntervals ";
}
#############################
@ -70,7 +69,7 @@ CUL_HOERMANN_Set($@)
return "Unknown argument $a[1], choose one of toggle:noArg"
if($a[1] ne "toggle");
return if(IsDisabled($name));
return if(IsDisabled($hash->{NAME}));
IOWrite($hash, "", "hn".$hash->{DEF})
}