Merge pull request 'patch-package' (#43) from patch-package into dev

Reviewed-on: #43
This commit is contained in:
Marko Oldenburg 2023-01-10 21:46:48 +01:00
commit fb5087803b
8 changed files with 1226 additions and 1089 deletions

View File

@ -1,4 +1,63 @@
### fix: bugfix function WeatherAsHtmlD not working (HEAD -> patch-WeatherAsHtmlD)
### build: v2.2.22 (HEAD -> patch-package)
>Tue, 10 Jan 2023 21:43:26 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
### docs: add new modul path in to pre-commit (origin/patch-package)
>Tue, 10 Jan 2023 21:37:10 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
add new modul path in to pre-commit hook file
### revert: mod packages
>Tue, 10 Jan 2023 21:32:56 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
- packages Weather.pm
- split FHEM/59_Weather.pm in two files and packages (FEHM/59_Weather.pm
and FHEM/Core/Weather.pm
[optional body]
[Ticket: no]
### fix: #40
>Tue, 10 Jan 2023 16:09:53 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
Undefined subroutine &FHEM::APIs::Weather::DarkSkyAPI::__strftimeWrapper
### docs: add new changelog and change version (tag: v2.2.21)
>Sun, 8 Jan 2023 21:56:15 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
### fix: bugfix function WeatherAsHtmlD not working
>Sun, 8 Jan 2023 21:54:31 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,5 @@
UPD 2023-01-08_22:01:24 57800 FHEM/59_Weather.pm
UPD 2023-01-10_16:09:04 50095 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2023-01-08_17:15:24 33411 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2023-01-07_19:00:05 36090 lib/FHEM/APIs/Weather/wundergroundAPI.pm
UPD 2023-01-10_21:41:34 25809 FHEM/59_Weather.pm
UPD 2023-01-10_21:20:58 33948 lib/FHEM/Core/Weather.pm
UPD 2023-01-10_21:25:52 50106 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2023-01-10_21:25:49 33422 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2023-01-10_21:25:53 36101 lib/FHEM/APIs/Weather/wundergroundAPI.pm

View File

@ -5,6 +5,7 @@ use POSIX qw(strftime);
use strict;
my @filenames = ( 'FHEM/59_Weather.pm',
'lib/FHEM/Core/Weather.pm',
'lib/FHEM/APIs/Weather/DarkSkyAPI.pm',
'lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm',
'lib/FHEM/APIs/Weather/wundergroundAPI.pm',

View File

@ -699,7 +699,7 @@ sub _CallWeatherCallbackFn {
my $self = shift;
# ## Aufruf der callbackFn
return ::Weather_RetrieveCallbackFn( $self->{devName} );
return FHEM::Core::Weather::RetrieveCallbackFn( $self->{devName} );
}
sub _ErrorHandling {

View File

@ -951,7 +951,7 @@ sub _CallWeatherCallbackFn {
# print 'Dumperausgabe: ' . Dumper $self;
### Aufruf der callbackFn
return ::Weather_RetrieveCallbackFn( $self->{devName} );
return FHEM::Core::Weather::RetrieveCallbackFn( $self->{devName} );
}
sub _ErrorHandling {

View File

@ -733,7 +733,7 @@ sub _CallWeatherCallbackFn {
my $self = shift;
# ## Aufruf der callbackFn
return ::Weather_RetrieveCallbackFn( $self->{devName} );
return FHEM::Core::Weather::RetrieveCallbackFn( $self->{devName} );
}
sub _ErrorHandling {

1140
lib/FHEM/Core/Weather.pm Normal file

File diff suppressed because it is too large Load Diff