fix diverse Fehlermeldungen

This commit is contained in:
Marko Oldenburg
2020-06-03 16:31:54 +02:00
parent 578b96a4ff
commit 4e0e9203c9
12 changed files with 60 additions and 53 deletions

View File

@ -39,6 +39,10 @@
## Klasse ASC_Dev plus Subklassen ASC_Attr_Dev und ASC_Readings_Dev##
package FHEM::Automation::ShuttersControl::Dev;
use FHEM::Automation::ShuttersControl::Dev::Readings;
use FHEM::Automation::ShuttersControl::Dev::Attr;
our @ISA = qw(FHEM::Automation::ShuttersControl::Dev::Readings FHEM::Automation::ShuttersControl::Dev::Attr);
use strict;

View File

@ -38,7 +38,7 @@
###############################################################################
## Subklasse Attr ##
package ASC_Dev::Attr;
package FHEM::Automation::ShuttersControl::Dev::Attr;
use strict;
use warnings;
@ -46,6 +46,9 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
my $ascDev = $FHEM::Automation::ShuttersControl::ascDev;
## Import der FHEM Funktionen
BEGIN {
GP_Import(

View File

@ -46,6 +46,9 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
my $ascDev = $FHEM::Automation::ShuttersControl::ascDev;
## Import der FHEM Funktionen
BEGIN {
GP_Import(

View File

@ -46,6 +46,8 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
## Import der FHEM Funktionen
BEGIN {
GP_Import(

View File

@ -44,6 +44,12 @@
## desweiteren wird noch die Klasse ASC_Roommate mit eingebunden
package FHEM::Automation::ShuttersControl::Shutters;
use FHEM::Automation::ShuttersControl::Shutters::Readings;
use FHEM::Automation::ShuttersControl::Shutters::Attr;
use FHEM::Automation::ShuttersControl::Roommate;
use FHEM::Automation::ShuttersControl::Window;
our @ISA =
qw(FHEM::Automation::ShuttersControl::Shutters::Readings FHEM::Automation::ShuttersControl::Shutters::Attr FHEM::Automation::ShuttersControl::Roommate FHEM::Automation::ShuttersControl::Window);
@ -53,6 +59,9 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
my $ascDev = $FHEM::Automation::ShuttersControl::ascDev;
## Import der FHEM Funktionen
BEGIN {
GP_Import(

View File

@ -46,6 +46,9 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
my %userAttrList = %FHEM::Automation::ShuttersControl::userAttrList;
## Import der FHEM Funktionen
BEGIN {
GP_Import(
@ -67,10 +70,10 @@ sub _setAttributs {
}
sub _getPosition {
my $self = shift;
my $self = shift;
my $attr = shift;
my $userAttrList = shift;
my $attr = shift;
my $userAttrList = shift;
return $self->{ $self->{shuttersDev} }->{$attr}->{position}
if (
@ -529,7 +532,7 @@ sub getAdv {
return (
AttrVal( $self->{shuttersDev}, 'ASC_Adv', 'off' ) eq 'on'
? ( FHEM::Automation::ShuttersControl::_IsAdv == 1 ? 1 : 0 )
? ( \&FHEM::Automation::ShuttersControl::_IsAdv == 1 ? 1 : 0 )
: 0
);
}

View File

@ -47,6 +47,9 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
my $ascDev = $FHEM::Automation::ShuttersControl::ascDev;
## Import der FHEM Funktionen
BEGIN {
GP_Import(

View File

@ -44,6 +44,9 @@ use strict;
use warnings;
use utf8;
use FHEM::Automation::ShuttersControl::Window::Attr;
use FHEM::Automation::ShuttersControl::Window::Readings;
our @ISA = qw(FHEM::Automation::ShuttersControl::Window::Attr FHEM::Automation::ShuttersControl::Window::Readings);

View File

@ -46,6 +46,8 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
## Import der FHEM Funktionen
BEGIN {
GP_Import(

View File

@ -46,6 +46,8 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
## Import der FHEM Funktionen
BEGIN {
GP_Import(