mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
Floorplan: Suppressed log-message during fhem start
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@2019 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
35f2cbdd3b
commit
ec9ecac1df
@ -157,8 +157,10 @@ FP_define(){
|
||||
my ($hash, $def) = @_;
|
||||
$hash->{STATE} = $hash->{NAME};
|
||||
my $name = $hash->{NAME};
|
||||
addToAttrList("fp_$name"); # create userattr fp_<name> if it doesn't exist yet
|
||||
Log 3, "Floorplan - added userattr fp_$name";
|
||||
if (AttrVal("global","userattr","") !~ m/fp_$name/) {
|
||||
addToAttrList("fp_$name"); # create userattr fp_<name> if it doesn't exist yet
|
||||
Log 3, "Floorplan - added global userattr fp_$name";
|
||||
}
|
||||
return undef;
|
||||
}
|
||||
#-------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user