patch-addOnecallMode #5

Merged
marko merged 26 commits from patch-addOnecallMode into dev 2022-12-20 13:44:37 +00:00
4 changed files with 43 additions and 41 deletions
Showing only changes of commit 52490f38bb - Show all commits

View File

@ -2,7 +2,7 @@
############################################################################## ##############################################################################
# #
# 59_Weather.pm # 59_Weather.pm
# Copyright by Dr. Boris Neubert # (c) 2009-2023 Copyright by Dr. Boris Neubert
# e-mail: omega at online dot de # e-mail: omega at online dot de
# #
# Contributors: # Contributors:
@ -1098,7 +1098,8 @@ sub Weather_CheckOptions {
$f =~ tr/dh/./cd if ( defined $f && $f ); $f =~ tr/dh/./cd if ( defined $f && $f );
$items =~ tr/0-9/./cd if ( defined($items) && $items ); $items =~ tr/0-9/./cd if ( defined($items) && $items );
$items = 6 if ( !$items ); $items = AttrVal( $d, 'forecastLimit', 6 )
if ( !$items );
my $forecastConfig = Weather_ForcastConfig($hash); my $forecastConfig = Weather_ForcastConfig($hash);
$f = ( $f = (
@ -1532,15 +1533,15 @@ sub Weather_CheckOptions {
], ],
"release_status": "stable", "release_status": "stable",
"license": "GPL_2", "license": "GPL_2",
"version": "v2.2.5", "version": "v2.2.6",
"author": [ "author": [
"Marko Oldenburg <leongaultier@gmail.com>" "Marko Oldenburg <fhemdevelopment@cooltux.net>"
], ],
"x_fhem_maintainer": [ "x_fhem_maintainer": [
"CoolTux" "CoolTux"
], ],
"x_fhem_maintainer_github": [ "x_fhem_maintainer_github": [
"LeonGaultier" "CoolTuxNet"
], ],
"prereqs": { "prereqs": {
"runtime": { "runtime": {

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,9 @@
# $Id: $ # $Id: $
############################################################################### ###############################################################################
# #
# Developed with VSCodium and richterger perl plugin. # Developed with VSCodium and richterger perl plugin
# #
# (c) 2019-2022 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net) # (c) 2019-2023 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net)
# All rights reserved # All rights reserved
# #
# Special thanks goes to: # Special thanks goes to:
@ -182,7 +182,9 @@ my %codes = (
sub new { sub new {
### geliefert wird ein Hash ### geliefert wird ein Hash
my ( $class, $argsRef ) = @_; my $class = shift;
my $argsRef = shift;
my $apioptions = _parseApiOptions( $argsRef->{apioptions} ); my $apioptions = _parseApiOptions( $argsRef->{apioptions} );
my $self = { my $self = {
@ -923,7 +925,7 @@ sub strftimeWrapper {
"abstract": "Wetter API für OpenWeatherMap" "abstract": "Wetter API für OpenWeatherMap"
} }
}, },
"version": "v3.0.1", "version": "v3.0.2",
"author": [ "author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>" "Marko Oldenburg <fhemdevelopment@cooltux.net>"
], ],
@ -931,7 +933,7 @@ sub strftimeWrapper {
"CoolTux" "CoolTux"
], ],
"x_fhem_maintainer_github": [ "x_fhem_maintainer_github": [
"LeonGaultier" "CoolTuxNet"
], ],
"prereqs": { "prereqs": {
"runtime": { "runtime": {

View File

@ -747,7 +747,7 @@ sub strftimeWrapper(@) {
"abstract": "Wetter API für Weather Underground" "abstract": "Wetter API für Weather Underground"
} }
}, },
"version": "v1.0.1", "version": "v1.0.2",
"author": [ "author": [
"Julian Pawlowski <julian.pawlowski@gmail.com>" "Julian Pawlowski <julian.pawlowski@gmail.com>"
], ],