59_Weather: This commit addresses several issues with conditionals in the Weather.pm file. The syntax for checking command attributes has been corrected, ensuring accurate evaluation of conditions.

git-svn-id: https://svn.fhem.de/fhem/trunk@30405 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
CoolTux
2025-10-16 17:10:49 +00:00
parent 0a7812476e
commit 7d90f46901
3 changed files with 7 additions and 6 deletions

View File

@@ -1,5 +1,9 @@
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
# Do not insert empty lines here, update check depends on it # Do not insert empty lines here, update check depends on it
- bugfix: 59_Weather: This commit addresses several issues with conditionals
in the Weather.pm file. The syntax for checking command
attributes has been corrected, ensuring accurate
evaluation of conditions.
- bugfix: 73_NUKIBridge: in the `Set` and `Get` methods, updated the return - bugfix: 73_NUKIBridge: in the `Set` and `Get` methods, updated the return
conditions to exclude the endpoint from the results conditions to exclude the endpoint from the results
when it matches the output from the command handlers when it matches the output from the command handlers

View File

@@ -516,7 +516,7 @@ __END__
], ],
"release_status": "stable", "release_status": "stable",
"license": "GPL_2", "license": "GPL_2",
"version": "v2.3.0", "version": "v2.3.1",
"author": [ "author": [
"Marko Oldenburg <fhemdevelopment@cooltux.net>" "Marko Oldenburg <fhemdevelopment@cooltux.net>"
], ],

View File

@@ -232,9 +232,6 @@ sub _LanguageInitialize {
@directions_txt_i18n = @directions_txt_nl; @directions_txt_i18n = @directions_txt_nl;
%pressure_trend_txt_i18n = %pressure_trend_txt_nl; %pressure_trend_txt_i18n = %pressure_trend_txt_nl;
%status_items_txt_i18n = %status_items_txt_nl; %status_items_txt_i18n = %status_items_txt_nl;
}
elsif ( $lang eq 'fr' ) {
} }
elsif ( $lang eq 'fr' ) { elsif ( $lang eq 'fr' ) {
%wdays_txt_i18n = %wdays_txt_fr; %wdays_txt_i18n = %wdays_txt_fr;
@@ -870,11 +867,11 @@ sub Attr {
::InternalTimer( gettimeofday() + 0.5, ::InternalTimer( gettimeofday() + 0.5,
\&FHEM::Core::Weather::DeleteForecastreadings, $hash ); \&FHEM::Core::Weather::DeleteForecastreadings, $hash );
} }
elsif ('forecastLimit') { elsif ( $cmd eq 'forecastLimit' ) {
::InternalTimer( gettimeofday() + 0.5, ::InternalTimer( gettimeofday() + 0.5,
\&FHEM::Core::Weather::DeleteForecastreadings, $hash ); \&FHEM::Core::Weather::DeleteForecastreadings, $hash );
} }
elsif ('alerts') { elsif ( $cmd eq 'alerts' ) {
if ( $cmd eq 'set' ) { if ( $cmd eq 'set' ) {
$hash->{fhem}->{api}->setAlerts($AttrVal); $hash->{fhem}->{api}->setAlerts($AttrVal);
} }