mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-09 07:44:19 +00:00
98_structure.pm: Fix WARNING for set called from fhen.cfg (Forum #82661)
git-svn-id: https://svn.fhem.de/fhem/trunk@15900 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
2cdced2725
commit
c85939f99b
@ -94,10 +94,10 @@ structure_Define($$)
|
||||
$hash->{CHANGEDCNT} = 0;
|
||||
$hash->{".asyncQueue"} = [];
|
||||
|
||||
InternalTimer(1, sub {
|
||||
structure_setDevs($hash, $def); # needed by set while init is running
|
||||
InternalTimer(1, sub { # repeat it for devices defined later
|
||||
structure_setDevs($hash, $def);
|
||||
@a = ( "set", $devname, $stype, $devname );
|
||||
structure_Attr(@a);
|
||||
structure_Attr("set", $devname, $stype, $devname);
|
||||
}, undef, 0);
|
||||
|
||||
return undef;
|
||||
|
Loading…
x
Reference in New Issue
Block a user