mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 04:36:36 +00:00
73_AutoShuttersControl: fix shading in drive then shutter is closed
git-svn-id: https://svn.fhem.de/fhem/trunk@22548 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
704c44b231
commit
2f3094a1aa
@ -368,6 +368,25 @@ sub EventProcessingWindowRec {
|
||||
}
|
||||
}
|
||||
}
|
||||
elsif (
|
||||
!$FHEM::Automation::ShuttersControl::shutters->getIsDay
|
||||
&& $FHEM::Automation::ShuttersControl::shutters->getModeDown eq 'roommate'
|
||||
&& ( $FHEM::Automation::ShuttersControl::shutters->getRoommatesStatus eq 'home'
|
||||
|| $FHEM::Automation::ShuttersControl::shutters->getRoommatesStatus eq 'awoken' )
|
||||
)
|
||||
{
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->setDriveCmd(
|
||||
(
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
->getVentilatePosAfterDayClosed eq 'open'
|
||||
? $FHEM::Automation::ShuttersControl::shutters
|
||||
->getOpenPos
|
||||
: $FHEM::Automation::ShuttersControl::shutters
|
||||
->getLastManPos
|
||||
)
|
||||
);
|
||||
}
|
||||
elsif (
|
||||
$FHEM::Automation::ShuttersControl::shutters->getModeDown ne
|
||||
'absent'
|
||||
@ -618,7 +637,7 @@ sub EventProcessingRoommate {
|
||||
->getSelfDefenseState
|
||||
)
|
||||
{
|
||||
ShadingProcessingDriveCommand( $hash, $shuttersDev );
|
||||
ShadingProcessingDriveCommand( $hash, $shuttersDev, 1 );
|
||||
}
|
||||
elsif (
|
||||
!$FHEM::Automation::ShuttersControl::shutters->getIsDay
|
||||
@ -943,7 +962,7 @@ sub EventProcessingResidents {
|
||||
&& $FHEM::Automation::ShuttersControl::shutters
|
||||
->getRoommatesStatus eq 'none' )
|
||||
{
|
||||
ShadingProcessingDriveCommand( $hash, $shuttersDev );
|
||||
ShadingProcessingDriveCommand( $hash, $shuttersDev, 1 );
|
||||
}
|
||||
elsif (
|
||||
$FHEM::Automation::ShuttersControl::shutters
|
||||
@ -1079,7 +1098,7 @@ sub EventProcessingResidents {
|
||||
->getSelfDefenseState
|
||||
)
|
||||
{
|
||||
ShadingProcessingDriveCommand( $hash, $shuttersDev );
|
||||
ShadingProcessingDriveCommand( $hash, $shuttersDev, 1 );
|
||||
}
|
||||
elsif (
|
||||
$FHEM::Automation::ShuttersControl::shutters->getShadingMode eq
|
||||
|
Loading…
x
Reference in New Issue
Block a user