2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

20_GUEST, 20_ROOMMATE: change log level and detail for DUMMY AttrFn registration

git-svn-id: https://svn.fhem.de/fhem/trunk@9759 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2015-11-03 08:41:21 +00:00
parent 2a201efbcc
commit b43ad2a10f
2 changed files with 4 additions and 4 deletions

View File

@ -168,8 +168,8 @@ sub GUEST_Define($$) {
$modules{dummy}{AttrFn} = "RESIDENTStk_AttrFnDummy"; $modules{dummy}{AttrFn} = "RESIDENTStk_AttrFnDummy";
} }
elsif ( $modules{dummy}{AttrFn} ne "RESIDENTStk_AttrFnDummy" ) { elsif ( $modules{dummy}{AttrFn} ne "RESIDENTStk_AttrFnDummy" ) {
Log3 $name, 5, Log3 $name, 4,
"RESIDENTStk $name: concurrent AttrFn already defined for dummy module. Some attribute based functions like auto-creations will not be available."; "RESIDENTStk $name: concurrent AttrFn already defined for dummy module (".$modules{dummy}{AttrFn}."). Some attribute based functions like auto-creations will not be available.";
} }
return undef; return undef;

View File

@ -173,8 +173,8 @@ sub ROOMMATE_Define($$) {
$modules{dummy}{AttrFn} = "RESIDENTStk_AttrFnDummy"; $modules{dummy}{AttrFn} = "RESIDENTStk_AttrFnDummy";
} }
elsif ( $modules{dummy}{AttrFn} ne "RESIDENTStk_AttrFnDummy" ) { elsif ( $modules{dummy}{AttrFn} ne "RESIDENTStk_AttrFnDummy" ) {
Log3 $name, 5, Log3 $name, 4,
"RESIDENTStk $name: concurrent AttrFn already defined for dummy module. Some attribute based functions like auto-creations will not be available."; "RESIDENTStk $name: concurrent AttrFn already defined for dummy module (".$modules{dummy}{AttrFn}."). Some attribute based functions like auto-creations will not be available.";
} }
return undef; return undef;