patch-stefanru #68

Merged
marko merged 4 commits from patch-stefanru into dev 2025-02-04 19:54:22 +00:00
4 changed files with 63 additions and 12 deletions

View File

@ -1,4 +1,25 @@
### docs: change versions and add copyright (HEAD -> patch-fixforecast)
### fix: apply patch from stefanru https://forum.fhem.de/index.php?msg=1332884 (HEAD -> patch-stefanru)
>Tue, 4 Feb 2025 20:52:52 +0100
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
[Ticket: no]
### docs: new CHANGELOG
>Fri, 11 Oct 2024 12:04:37 +0200
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net)
### docs: change versions and add copyright
>Fri, 11 Oct 2024 12:04:07 +0200
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)
@ -8,7 +29,7 @@
### docs: Changelog (origin/patch-fixforecast)
### docs: Changelog
>Fri, 11 Oct 2024 07:07:57 +0200
>Author: Marko Oldenburg (fhemdevelopment@cooltux.net)

View File

@ -1,5 +1,5 @@
UPD 2024-10-11_12:02:22 25848 FHEM/59_Weather.pm
UPD 2024-10-11_11:59:21 34293 lib/FHEM/Core/Weather.pm
UPD 2024-10-11_19:46:40 25848 FHEM/59_Weather.pm
UPD 2025-02-04_20:50:25 34419 lib/FHEM/Core/Weather.pm
UPD 2023-01-29_16:14:48 50106 lib/FHEM/APIs/Weather/DarkSkyAPI.pm
UPD 2023-07-11_14:08:00 33779 lib/FHEM/APIs/Weather/OpenWeatherMapAPI.pm
UPD 2024-10-11_12:02:42 37627 lib/FHEM/APIs/Weather/wundergroundAPI.pm
UPD 2025-02-04_20:47:55 38751 lib/FHEM/APIs/Weather/wundergroundAPI.pm

File diff suppressed because one or more lines are too long

View File

@ -434,8 +434,13 @@ sub _Writereadings {
&& ref( $dataRef->{$r} ) ne 'ARRAY' );
}
if ( defined( $dataRef->{current}->{code} )
&& $dataRef->{current}->{code} )
{
::readingsBulkUpdate( $hash, 'icon',
$iconlist[ $dataRef->{current}->{code} ] );
}
if ( defined( $dataRef->{current}->{wind_direction} )
&& $dataRef->{current}->{wind_direction}
&& defined( $dataRef->{current}->{wind_speed} )