mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
update state after startup
git-svn-id: https://svn.fhem.de/fhem/trunk@4470 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
091be05009
commit
ba3e21d404
@ -63,6 +63,8 @@ readingsProxy_updateDevices($)
|
||||
}
|
||||
|
||||
$hash->{CONTENT} = \%list;
|
||||
|
||||
readingsProxy_update($hash, undef);
|
||||
}
|
||||
|
||||
sub readingsProxy_Define($$)
|
||||
@ -76,11 +78,9 @@ sub readingsProxy_Define($$)
|
||||
my $name = shift(@args);
|
||||
my $type = shift(@args);
|
||||
|
||||
readingsProxy_updateDevices($hash);
|
||||
|
||||
$hash->{STATE} = 'Initialized';
|
||||
|
||||
readingsProxy_update($hash, undef) if( $init_done );
|
||||
readingsProxy_updateDevices($hash);
|
||||
|
||||
return undef;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user