update device list on global INITIALIZED

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@3777 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-08-24 10:08:22 +00:00
parent 20932eadf7
commit 49ed5d3c6a

View File

@@ -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};