From a075c957666f652a22c701345ca78a03c1ed826e Mon Sep 17 00:00:00 2001 From: phenning <> Date: Sun, 19 Aug 2018 17:32:06 +0000 Subject: [PATCH] =?UTF-8?q?95=5FAstro.pm:=20Neue=20Version=20mit=20ge?= =?UTF-8?q?=C3=A4nderter=20Update-Policy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.fhem.de/fhem/trunk@17177 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/95_Astro.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fhem/FHEM/95_Astro.pm b/fhem/FHEM/95_Astro.pm index cf7759396..18062bdfc 100644 --- a/fhem/FHEM/95_Astro.pm +++ b/fhem/FHEM/95_Astro.pm @@ -47,7 +47,7 @@ my $deltaT = 65; # Correction time in s my %Astro; my %Date; -my $astroversion = 1.48; +my $astroversion = 1.49; #-- These we may get on request my %gets = ( @@ -1351,9 +1351,9 @@ sub Astro_Update($@) { readingsBeginUpdate($hash); foreach my $key (keys %Astro){ - readingsBulkUpdate($hash,$key,$Astro{$key}); + readingsBulkUpdateIfChanged($hash,$key,$Astro{$key}); } - readingsEndUpdate($hash,0); + readingsEndUpdate($hash,1); readingsSingleUpdate($hash,"state","Updated",1); }