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:
parent
2a201efbcc
commit
b43ad2a10f
@ -168,8 +168,8 @@ sub GUEST_Define($$) {
|
||||
$modules{dummy}{AttrFn} = "RESIDENTStk_AttrFnDummy";
|
||||
}
|
||||
elsif ( $modules{dummy}{AttrFn} ne "RESIDENTStk_AttrFnDummy" ) {
|
||||
Log3 $name, 5,
|
||||
"RESIDENTStk $name: concurrent AttrFn already defined for dummy module. Some attribute based functions like auto-creations will not be available.";
|
||||
Log3 $name, 4,
|
||||
"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;
|
||||
|
@ -173,8 +173,8 @@ sub ROOMMATE_Define($$) {
|
||||
$modules{dummy}{AttrFn} = "RESIDENTStk_AttrFnDummy";
|
||||
}
|
||||
elsif ( $modules{dummy}{AttrFn} ne "RESIDENTStk_AttrFnDummy" ) {
|
||||
Log3 $name, 5,
|
||||
"RESIDENTStk $name: concurrent AttrFn already defined for dummy module. Some attribute based functions like auto-creations will not be available.";
|
||||
Log3 $name, 4,
|
||||
"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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user