mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
update device list on global INITIALIZED
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@3777 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
73b768385e
commit
073c8b0a42
@ -252,6 +252,11 @@ readingsGroup_Notify($$)
|
||||
my ($hash,$dev) = @_;
|
||||
my $name = $hash->{NAME};
|
||||
|
||||
if( grep(m/^INITIALIZED$/, @{$dev->{CHANGED}}) ) {
|
||||
readingsGroup_updateDevices($hash);
|
||||
return undef;
|
||||
}
|
||||
|
||||
return if($dev->{NAME} eq $name);
|
||||
|
||||
my $devices = $hash->{DEVICES};
|
||||
|
Loading…
x
Reference in New Issue
Block a user