diff --git a/fhem/CHANGED b/fhem/CHANGED index ccc0ab63b..ed04065cb 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,7 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 73_NUKIBridge: 74_NUKIDevice: add all new features of API Version + 1.13 - bugfix: 88_HMCCU: Several improvements and bug fixes - feature: 93_DbRep: Pragma query possible in sqlCmd, new getter initData minor fixes diff --git a/fhem/FHEM/73_NUKIBridge.pm b/fhem/FHEM/73_NUKIBridge.pm index 2434332fe..4719c8e61 100644 --- a/fhem/FHEM/73_NUKIBridge.pm +++ b/fhem/FHEM/73_NUKIBridge.pm @@ -1,6 +1,6 @@ ############################################################################### # -# Developed with Kate +# Developed with VSCodium and richterger perl plugin # # (c) 2016-2021 Copyright: Marko Oldenburg (fhemdevelopment at cooltux dot net) # All rights reserved @@ -43,6 +43,14 @@ use warnings; use FHEM::Meta; require FHEM::Devices::Nuki::Bridge; +use GPUtils qw(GP_Import); + +BEGIN { + + # Import from main context + GP_Import(qw( readingFnAttributes )); +} + sub ::NUKIBridge_Initialize { goto &Initialize } sub Initialize { @@ -68,7 +76,7 @@ sub Initialize { . 'webhookFWinstance:' . $webhookFWinstance . ' ' . 'webhookHttpHostname ' - . $::readingFnAttributes; + . $readingFnAttributes; return FHEM::Meta::InitMod( __FILE__, $hash ); } @@ -85,13 +93,27 @@ sub Initialize {

NUKIBridge