package und device_id
zusätzlich einige Kleinigkeiten bereinigt, question mit zusätzlichem Testfür andere Clients außer Element.
This commit is contained in:
parent
b4b84ebe99
commit
c9879d14be
@ -30,7 +30,7 @@ use strict;
|
|||||||
use warnings;
|
use warnings;
|
||||||
use HttpUtils;
|
use HttpUtils;
|
||||||
use FHEM::Meta;
|
use FHEM::Meta;
|
||||||
use GPUtils qw(GP_Export GP_Import);
|
use GPUtils qw(GP_Export);
|
||||||
|
|
||||||
use JSON;
|
use JSON;
|
||||||
require FHEM::Devices::Matrix::Matrix;
|
require FHEM::Devices::Matrix::Matrix;
|
||||||
@ -42,26 +42,22 @@ BEGIN {
|
|||||||
GP_Export(qw(
|
GP_Export(qw(
|
||||||
Initialize
|
Initialize
|
||||||
));
|
));
|
||||||
GP_Import(qw(
|
|
||||||
readingFnAttributes
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub Initialize {
|
sub Initialize {
|
||||||
my ($hash) = @_;
|
my ($hash) = @_;
|
||||||
|
|
||||||
$hash->{DefFn} = \&FHEM::Matrix::Define;
|
$hash->{DefFn} = \&FHEM::Devices::Matrix::Define;
|
||||||
$hash->{UndefFn} = \&FHEM::Matrix::Undef;
|
$hash->{UndefFn} = \&FHEM::Devices::Matrix::Undef;
|
||||||
$hash->{SetFn} = \&FHEM::Matrix::Set;
|
$hash->{Delete} = \&FHEM::Devices::Matrix::Delete;
|
||||||
$hash->{GetFn} = \&FHEM::Matrix::Get;
|
$hash->{SetFn} = \&FHEM::Devices::Matrix::Set;
|
||||||
$hash->{AttrFn} = \&FHEM::Matrix::Attr;
|
$hash->{GetFn} = \&FHEM::Devices::Matrix::Get;
|
||||||
$hash->{ReadFn} = \&FHEM::Matrix::Read;
|
$hash->{AttrFn} = \&FHEM::Devices::Matrix::Attr;
|
||||||
$hash->{RenameFn} = \&FHEM::Matrix::Rename;
|
$hash->{ReadFn} = \&FHEM::Devices::Matrix::Read;
|
||||||
$hash->{NotifyFn} = \&FHEM::Matrix::Notify;
|
$hash->{RenameFn} = \&FHEM::Devices::Matrix::Rename;
|
||||||
|
$hash->{NotifyFn} = \&FHEM::Devices::Matrix::Notify;
|
||||||
|
|
||||||
#$hash->{AttrList} = $FHEM::Devices::Matrix::attr_list;
|
$hash->{AttrList} = FHEM::Devices::Matrix::Attr_List();
|
||||||
$hash->{AttrList} = Attr_List();
|
|
||||||
#$hash->{parseParams} = 1;
|
|
||||||
return FHEM::Meta::InitMod( __FILE__, $hash );
|
return FHEM::Meta::InitMod( __FILE__, $hash );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user