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