a4693150708bebca5aa6ddf30e3d098ef985526b
This commit includes several improvements and refactoring to the 77_UWZ.pm file. The primary changes involve unifying language handling by replacing direct comparisons of the country code with a call to a new utility function, `contains_string`, which checks if the `CountryCode` exists within an array. This change enhances the readability and maintainability of the code. Additionally, certain code cleanup has been performed, including minor formatting adjustments for better alignment and spacing, removing deprecated warning pragmas, and correcting the 'Mäy' month name spelling in the English months array. These changes do not introduce any breaking changes, but they improve the overall structure and consistency of the code, making future modifications and updates easier.
FHEM::UWZ
Used branching model
- Master branch: Production version (copy of fhem/fhem-mirror/blob/master/fhem/FHEM/77_UWZ.pm)
- Devel branch: Latest development version
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.
Languages
Perl
100%