From 12bc064f44595bbce15e8108ec3fc70aa606be08 Mon Sep 17 00:00:00 2001 From: phenning <> Date: Fri, 7 Jul 2017 08:17:12 +0000 Subject: [PATCH] 95_Astro.pm: Letzter Fix git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@14660 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/95_Astro.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/FHEM/95_Astro.pm b/FHEM/95_Astro.pm index 1e7f96700..38dd39039 100644 --- a/FHEM/95_Astro.pm +++ b/FHEM/95_Astro.pm @@ -42,12 +42,11 @@ my $DEG = pi/180.0; my $RAD = 180./pi; my $deltaT = 65; # Correction time in s -my $timezone = 1; # Difference between CET and UT my %Astro; my %Date; -my $astroversion = 1.0; +my $astroversion = 1.1; #-- These we may get on request my %gets = ( @@ -1039,12 +1038,11 @@ sub Astro_Get($@) { return $astroversion; }elsif( $a[1] eq "json") { - Astro_Compute($hash); if( $wantsreading==1 ){ return toJSON($Astro{$a[2]}); }else{ - return toJSON(%Astro); + return toJSON(\%Astro); } }elsif( $a[1] eq "text") {