Marko Oldenburg d313cb8d4a Refactor language handling to improve readability
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.
2025-10-14 07:01:07 +02:00
2025-02-04 21:26:52 +01:00
```
2025-02-05 07:07:52 +01:00
2019-01-09 10:37:55 +01:00
2019-06-07 21:27:41 +02:00

Weather

Used branching model

Community support

The FHEM Forum is available here for general support. In case you have a specific question about this module, it is recommended to find the right sub-forum. It can either be found from the module info card using the FHEM Installer (e.g. using command search <MODULE_NAME>) or it can be determined from the MAINTAINER.txt file.

Bug reports and feature requests

Identified bugs and feature requests are tracked using Github Issues.

Pull requests / How to participate into development

You are invited to send pull requests to the devel branch whenever you think you can contribute with some useful improvements to the module. The module maintainer will review you code and decide whether it is going to be part of the module in a future release.

Description
No description provided
Readme GPL-2.0 443 KiB
Refactoring Latest
2025-10-14 05:41:33 +00:00
Languages
Perl 98.7%
Shell 1.3%