diff --git a/CHANGELOG.md b/CHANGELOG.md index c6fc315..408cb81 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,147 @@ -### feat: remove DarkSky, change versions remove DarkSkyAPI, no longer supported change Copyright years and versions of OWM API (HEAD -> patch-changeVersion) +### Refactor language handling in Weather API (HEAD -> patch-remove-perlexperimental) +>Tue, 14 Oct 2025 07:03:38 +0200 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + +Improved the language initialization logic by replacing the +experimental `given/when` construct with a more standard +`if/elsif` structure, enhancing code readability and +maintainability. The attribute handling in the `Attr` subroutine +was also refactored for clarity, removing unnecessary usage +of `given/when`, which helps reduce complexity throughout +the codebase. + +In the OpenWeatherMapAPI module, the logic for handling +weather response data was streamlined by removing `given/when` +statements in favor of `if` conditions. This change avoids +potential confusion and enhances the clarity of the code logic. +No breaking changes were introduced; the overall functionality +remains intact. + + + +### Refactor language handling to improve readability +>Tue, 14 Oct 2025 07:01:07 +0200 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + +Improved the language initialization logic by replacing the +experimental `given/when` construct with a more standard +`if/elsif` structure, enhancing code readability and +maintainability. Additionally, the attribute handling in the +`Attr` subroutine was refactored for clarity, removing +unnecessary usage of `given/when`, which helps reduce +complexity across the codebase. + +Furthermore, in the OpenWeatherMapAPI module, logic for +handling weather response data was streamlined by removing +the `given/when` statements in favor of `if` conditions. +This change eliminates potential confusion and enhances +the clarity of the code logic. No breaking changes were +introduced; the overall functionality remains intact. + + + +### Refactor language initialization and attribute handling +>Tue, 14 Oct 2025 06:53:44 +0200 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + +Improved the language initialization logic by replacing +the experimental `given/when` construct with a more +standard `if/elsif` structure. This change enhances code +readability and maintainability, making it easier to follow +the flow of language assignments. + +Additionally, refactored attribute handling in the `Attr` +subroutine by streamlining the conditions, removing +unnecessary `given/when` usage, and maintaining clarity +in the logic for setting and deleting forecasts and alerts. +These changes help reduce complexity and improve +consistency throughout the codebase. + + + +### ``` Refactor pre-commit hook by removing DarkSkyAPI references +>Wed, 5 Feb 2025 07:08:45 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + +Updated the pre-commit hook to eliminate references to +'lib/FHEM/APIs/Weather/DarkSkyAPI.pm'. This change was made to +simplify the codebase and make it more relevant by focusing on +the other weather API files. + +Additionally, the output formatting of the pre-commit hook +has been improved for better readability, and the order of +the files in the @filenames array has been restructured for +clarity. + +No breaking changes have been introduced; the pre-commit +hook continues to operate as intended. +``` + + + +### ``` Refactor pre-commit hook file list and output formatting +>Wed, 5 Feb 2025 07:07:52 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + +Updated the list of files in the pre-commit hook to remove +references to 'lib/FHEM/APIs/Weather/DarkSkyAPI.pm' and adjusted +the output formatting for better readability. The order of the +files in the @filenames array has been restructured for clarity. +These changes were necessary to ensure our code base focuses on +the more relevant weather API files. + +No breaking changes introduced; the pre-commit hook continues to +function as intended. +``` + + + +### docs: add changelog +>Tue, 4 Feb 2025 21:27:10 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + + + + +### docs: fix unbalanced p +>Tue, 4 Feb 2025 21:26:52 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + + + + +### docs: add changelog +>Tue, 4 Feb 2025 21:01:33 +0100 + +>Author: Marko Oldenburg (fhemdevelopment@cooltux.net) + +>Commiter: Marko Oldenburg (fhemdevelopment@cooltux.net) + + + + +### feat: remove DarkSky, change versions remove DarkSkyAPI, no longer supported change Copyright years and versions of OWM API >Tue, 4 Feb 2025 21:01:17 +0100 >Author: Marko Oldenburg (fhemdevelopment@cooltux.net) diff --git a/FHEM/59_Weather.pm b/FHEM/59_Weather.pm index 996aded..3b2a855 100755 --- a/FHEM/59_Weather.pm +++ b/FHEM/59_Weather.pm @@ -74,7 +74,7 @@ __END__

Weather