Improved the command handler functions within the Nuki Bridge module by standardizing return statements for consistency. Each command now immediately returns after assigning its respective endpoint, ensuring clearer control flow. This change simplifies the readability of the code and ensures that all command handlers consistently exit without proceeding further when their conditions are met. Additionally, unnecessary checks for the endpoint were removed, streamlining the handling of responses. These adjustments should help reduce confusion and make future modifications easier, without introducing any breaking changes.
5 lines
228 B
Plaintext
5 lines
228 B
Plaintext
UPD 2025-10-16_18:43:02 10358 FHEM/73_NUKIBridge.pm
|
|
UPD 2025-10-15_06:55:14 11100 FHEM/74_NUKIDevice.pm
|
|
UPD 2025-10-16_19:50:02 43040 lib/FHEM/Devices/Nuki/Bridge.pm
|
|
UPD 2025-10-15_06:55:14 16775 lib/FHEM/Devices/Nuki/Device.pm
|