mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 20:20:10 +00:00
95_Astro.pm: Neue Version, nur noch ein Event bei Update der Readings
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17012 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bfc69f6fd6
commit
3ab369e579
@ -47,7 +47,7 @@ my $deltaT = 65; # Correction time in s
|
||||
my %Astro;
|
||||
my %Date;
|
||||
|
||||
my $astroversion = 1.47;
|
||||
my $astroversion = 1.48;
|
||||
|
||||
#-- These we may get on request
|
||||
my %gets = (
|
||||
@ -1353,7 +1353,8 @@ sub Astro_Update($@) {
|
||||
foreach my $key (keys %Astro){
|
||||
readingsBulkUpdate($hash,$key,$Astro{$key});
|
||||
}
|
||||
readingsEndUpdate($hash,1);
|
||||
readingsEndUpdate($hash,0);
|
||||
readingsSingleUpdate($hash,"state","Updated",1);
|
||||
}
|
||||
|
||||
########################################################################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user