code style
This commit is contained in:
parent
81a8ef64ec
commit
fac703e385
@ -3635,7 +3635,9 @@ sub _setShuttersLastDriveDelayed($) {
|
||||
my $shuttersDevHash = $h->{devHash};
|
||||
my $lastDrive = $h->{lastDrive};
|
||||
|
||||
readingsSingleUpdate( $shuttersDevHash, 'ASC_ShuttersLastDrive', $lastDrive, 1 );
|
||||
readingsSingleUpdate( $shuttersDevHash, 'ASC_ShuttersLastDrive',
|
||||
$lastDrive, 1 );
|
||||
|
||||
# print('Ausgabe Funktion wurde aufgerufen - LastDrive: ' . $lastDrive . ', DevHash and Name: ' . $shuttersDevHash . ':: ' . $shuttersDevHash->{NAME} . "\n");
|
||||
}
|
||||
|
||||
@ -3863,8 +3865,7 @@ sub setLastDriveReading {
|
||||
lastDrive => $shutters->getLastDrive,
|
||||
);
|
||||
|
||||
InternalTimer(
|
||||
gettimeofday() + 0.1,
|
||||
InternalTimer( gettimeofday() + 0.1,
|
||||
'FHEM::AutoShuttersControl::_setShuttersLastDriveDelayed', \%h );
|
||||
return 0;
|
||||
}
|
||||
@ -4299,7 +4300,8 @@ sub getShadingLastStatusTimestamp {
|
||||
return $self->{ $self->{shuttersDev} }{ShadingLastStatus}{TIME}
|
||||
if ( defined( $self->{ $self->{shuttersDev} } )
|
||||
and defined( $self->{ $self->{shuttersDev} }{ShadingLastStatus} )
|
||||
and defined( $self->{ $self->{shuttersDev} }{ShadingLastStatus}{TIME} ) );
|
||||
and defined( $self->{ $self->{shuttersDev} }{ShadingLastStatus}{TIME} )
|
||||
);
|
||||
}
|
||||
### Ende Beschattung
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user