mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
autocreate: preserve room for createlog
git-svn-id: https://svn.fhem.de/fhem/trunk@3651 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
be9218fca9
commit
bdf6e8b636
@ -170,6 +170,8 @@ autocreate_Notify($$)
|
||||
$hash = $defs{$name};
|
||||
$nrcreated++;
|
||||
my $room = replace_wildcards($hash, AttrVal($me, "device_room", "%TYPE"));
|
||||
# preserve room for createlog
|
||||
$room = $attr{$name}{room} if($attr{$name} && $attr{$name}{room});
|
||||
$attr{$name}{room} = $room if($room);
|
||||
|
||||
# BlackList processing
|
||||
|
Loading…
x
Reference in New Issue
Block a user