From 05e10a11894adfa70cdd1378e5c8af184427b9e6 Mon Sep 17 00:00:00 2001 From: Marko Oldenburg Date: Sun, 23 Jun 2019 08:39:12 +0200 Subject: [PATCH] add LoadModul() Sub --- 74_AMADDevice.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/74_AMADDevice.pm b/74_AMADDevice.pm index 7234338..0459fdd 100755 --- a/74_AMADDevice.pm +++ b/74_AMADDevice.pm @@ -54,7 +54,7 @@ use FHEM::Meta; use Data::Dumper; #only for Debugging use GPUtils qw(GP_Import GP_Export); -require '73_AMADCommBridge.pm' unless ( defined( *{"main::AMADCommBridge_Initialize"} ) ); +main::LoadModule('AMADCommBridge'); my $missingModul = ''; eval "use Encode qw(encode encode_utf8);1" or $missingModul .= 'Encode '; @@ -1680,7 +1680,7 @@ sub CreateChangeBtDeviceValue($$) { ], "release_status": "stable", "license": "GPL_2", - "version": "v4.4.4", + "version": "v4.4.6", "author": [ "Marko Oldenburg " ],