Skip to content

Commit 6bd81eb

Browse files
Merge pull request #36 from fhem/development/3.0
#35 typo: precipiation → precipitation
2 parents 0862e30 + 2f3323a commit 6bd81eb

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

FHEM/59_Buienradar.pm

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ use Readonly;
5353
=pod
5454
Settings
5555
=cut
56-
Readonly our $version => '3.0.3';
56+
Readonly our $version => '3.0.4';
5757
Readonly our $default_interval => ONE_MINUTE * 2;
5858

5959
=pod
@@ -70,7 +70,7 @@ Readonly our %Translations => (
7070
'en' => 'mm/h',
7171
},
7272
'title' => {
73-
'de' => 'Niederschlagsvorhersage für %s, %s',
73+
'de' => 'Niederschlagsvorhersage für %s, %s',
7474
'en' => 'Precipitation forecast for %s, %s',
7575
},
7676
'legend' => {
@@ -576,7 +576,7 @@ sub GChart {
576576
my $data = join ', ', map {
577577
my ($k, $v) = (
578578
POSIX::strftime('%H:%M', localtime $storedData{$_}{'start'}),
579-
sprintf('%.3f', $storedData{$_}{'precipiation'})
579+
sprintf('%.3f', $storedData{$_}{'precipitation'})
580580
);
581581
qq{['$k', $v]}
582582
} sort keys %storedData;
@@ -691,7 +691,7 @@ sub LogProxy {
691691
join(
692692
q{ }, (
693693
POSIX::strftime('%F_%T', localtime $data{$_}{'start'}),
694-
sprintf('%.3f', $data{$_}{'precipiation'})
694+
sprintf('%.3f', $data{$_}{'precipitation'})
695695
)
696696
)
697697
} keys %data),
@@ -721,9 +721,9 @@ sub TextChart {
721721
my $data = join '\n', map {
722722
my ($time, $precip, $bar) = (
723723
POSIX::strftime('%H:%M', localtime $storedData{$_}{'start'}),
724-
sprintf('% 7.3f', $storedData{$_}{'precipiation'}),
724+
sprintf('% 7.3f', $storedData{$_}{'precipitation'}),
725725
# @todo
726-
(($storedData{$_}{'precipiation'} < 5) ? q{=} x POSIX::lround(abs($storedData{$_}{'precipiation'} * 10)) : (q{=} x 50) . q{>}),
726+
(($storedData{$_}{'precipitation'} < 5) ? q{=} x POSIX::lround(abs($storedData{$_}{'precipitation'} * 10)) : (q{=} x 50) . q{>}),
727727
);
728728
qq[$time | $precip | $bar]
729729
} sort keys %storedData;
@@ -845,9 +845,9 @@ sub ParseHttpResponse {
845845
}
846846

847847
$precipitation_forecast{$start} = {
848-
'start' => $start,
849-
'end' => $end,
850-
'precipiation' => $precip,
848+
'start' => $start,
849+
'end' => $end,
850+
'precipitation' => $precip,
851851
};
852852
}
853853

meta.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
],
1717
"release_status": "development",
1818
"license": "Unlicense",
19-
"version": "3.0.3",
19+
"version": "3.0.4",
2020
"author": [
2121
"Christoph Morrison <post@christoph-jeschke.de>"
2222
],

0 commit comments

Comments
 (0)