-
released this
2025-10-15 04:57:52 +00:00 | 0 commits to dev since this releaseThe Nuki Bridge and Device modules have been updated to version 2.1.1.
Key changes include enhancements to the command handling within the
Bridge module, replacing thegiven/when
construct with a more
flexible hash-based dispatcher for clarity and maintainability.Additionally, minor refinements have been made in the Device module,
including improved reading updates and handling of last known
device states. The experimental feature switch has been commented
out, ensuring compatibility with standard Perl versions.These updates improve the overall robustness and readability of the
code, making it easier to maintain and extend in future versions.
No breaking changes have been introduced.This version introduces the use of the
Encode
module to ensure that
values being processed in theWriteReadings
subroutine are correctly
encoded in UTF-8. The previous implementation did not account for
potential non-UTF-8 encoded data which could lead to issues when
updating readings.The change specifically checks if the value (
$v
) is marked as UTF-8
usingEncode::is_utf8()
. If it is, the value is re-encoded to UTF-8
before being passed to::readingsBulkUpdate()
. This adjustment
ensures that all data written to readings maintains proper character
encoding, improving compatibility and preventing potential data
corruption.No breaking changes are introduced, but it is important for users
to validate that their readings correctly display any special
characters post-update.Downloads