fix diverse Fehlermeldungen
This commit is contained in:
@ -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;
|
||||
|
@ -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(
|
||||
|
@ -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(
|
||||
|
@ -46,6 +46,8 @@ use utf8;
|
||||
|
||||
use GPUtils qw(GP_Import);
|
||||
|
||||
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
|
||||
|
||||
## Import der FHEM Funktionen
|
||||
BEGIN {
|
||||
GP_Import(
|
||||
|
@ -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(
|
||||
|
@ -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
|
||||
);
|
||||
}
|
||||
|
@ -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(
|
||||
|
@ -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);
|
||||
|
||||
|
||||
|
@ -46,6 +46,8 @@ use utf8;
|
||||
|
||||
use GPUtils qw(GP_Import);
|
||||
|
||||
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
|
||||
|
||||
## Import der FHEM Funktionen
|
||||
BEGIN {
|
||||
GP_Import(
|
||||
|
@ -46,6 +46,8 @@ use utf8;
|
||||
|
||||
use GPUtils qw(GP_Import);
|
||||
|
||||
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
|
||||
|
||||
## Import der FHEM Funktionen
|
||||
BEGIN {
|
||||
GP_Import(
|
||||
|
Reference in New Issue
Block a user