fix -residents come home- typo
This commit is contained in:
parent
7009423fa9
commit
e589864a0a
@ -1398,7 +1398,7 @@ sub EventProcessingResidents($@) {
|
||||
and $shutters->getRoommatesStatus eq 'none'
|
||||
)
|
||||
{
|
||||
$shutters->setLastDrive('residents comin home');
|
||||
$shutters->setLastDrive('residents come home');
|
||||
$shutters->setDriveCmd( $shutters->getClosedPos );
|
||||
}
|
||||
elsif (
|
||||
@ -3962,9 +3962,9 @@ sub setDriveCmd {
|
||||
my $offSet;
|
||||
my $offSetStart;
|
||||
|
||||
|
||||
if ( $shutters->getPartyMode eq 'on'
|
||||
and $ascDev->getPartyMode eq 'on' ) {
|
||||
and $ascDev->getPartyMode eq 'on' )
|
||||
{
|
||||
|
||||
$shutters->setDelayCmd($posValue);
|
||||
$ascDev->setDelayCmdReading;
|
||||
@ -4007,14 +4007,17 @@ sub setDriveCmd {
|
||||
and $shutters->getLastDrive eq 'selfDefense active'
|
||||
and $ascDev->getSelfDefense eq 'on' )
|
||||
{
|
||||
InternalTimer( gettimeofday() + $shutters->getSelfDefenseAbsentDelay,
|
||||
InternalTimer(
|
||||
gettimeofday() + $shutters->getSelfDefenseAbsentDelay,
|
||||
'FHEM::AutoShuttersControl::_SetCmdFn', \%h );
|
||||
$shutters->setSelfDefenseAbsent( 1, 0, \%h );
|
||||
}
|
||||
elsif ( $offSetStart > 0 and not $shutters->getNoDelay ) {
|
||||
InternalTimer(
|
||||
gettimeofday() + int( rand($offSet) + $shutters->getDelayStart ),
|
||||
'FHEM::AutoShuttersControl::_SetCmdFn', \%h );
|
||||
gettimeofday() +
|
||||
int( rand($offSet) + $shutters->getDelayStart ),
|
||||
'FHEM::AutoShuttersControl::_SetCmdFn', \%h
|
||||
);
|
||||
|
||||
FHEM::AutoShuttersControl::ASC_Debug( 'FnSetDriveCmd: '
|
||||
. $shutters->getShuttersDev
|
||||
|
Loading…
x
Reference in New Issue
Block a user