2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

00_TUL.pm: Added log entry for compatibility issue.

git-svn-id: https://svn.fhem.de/fhem/trunk@11467 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
andi291 2016-05-16 15:12:37 +00:00
parent db1fb378d2
commit cc63804b37

View File

@ -8,6 +8,7 @@
# ABU 20160309 fixed log2
# ABU 20160310 repaired dispatch events - inform EIB, only is useEIB is set
# ABU 20160515 removed compatibility flag for EIB
# ABU 20160516 added log entry for non-compatibility of tul
package main;
@ -103,6 +104,7 @@ TUL_Define($$)
#Set attributes in order to control backward-compatibility
#$attr{$name}{useEIB} = 1;
#Log3 ($name, 1, "Using EIB is deprecated. Please migrate to KNX soon. Module 10_EIB is not maintained any longer.") if (AttrVal($name, "useEIB", 0) =~ m/1/);
Log3 ($name, 0, "Using EIB is deprecated. Please migrate to KNX soon. Module 10_EIB is not maintained any longer. If you still want to use the module EIB, please set the attribute useEIB to 1.") if (AttrVal($name, "useEIB", 0) =~ m/1/);
$hash->{DeviceName} = $dev;
$hash->{DeviceAddress} = $devaddr;