Ready for package and object methode

This commit is contained in:
Marko Oldenburg
2020-06-03 18:00:56 +02:00
parent 4e0e9203c9
commit c19f9728a0
8 changed files with 175 additions and 196 deletions

View File

@ -46,8 +46,6 @@ use utf8;
use GPUtils qw(GP_Import);
my $shutters = $FHEM::Automation::ShuttersControl::shutters;
## Import der FHEM Funktionen
BEGIN {
GP_Import(
@ -122,7 +120,7 @@ sub getWinDevReading {
$self->{ $self->{shuttersDev} }->{ASC_WindowRec}->{LASTGETTIME} ) <
2
);
$shutters->_getWinDev;
$FHEM::Automation::ShuttersControl::shutters->_getWinDev;
return $self->{ $self->{shuttersDev} }->{ASC_WindowRec}->{reading};
}