add EG_window to ShuttersPlace and expand ProcessingResidents Fn for

close Shutter by open window then gone
This commit is contained in:
2021-10-09 07:53:53 +02:00
parent 6a62226a39
commit 63393b4cd4
4 changed files with 22 additions and 20 deletions

View File

@ -977,8 +977,10 @@ sub EventProcessingResidents {
|| ( CheckIfShuttersWindowRecOpen($shuttersDev) == 2
&& $FHEM::Automation::ShuttersControl::shutters
->getSelfDefenseMode eq 'gone'
&& $FHEM::Automation::ShuttersControl::shutters
->getShuttersPlace eq 'terrace'
&& ( $FHEM::Automation::ShuttersControl::shutters
->getShuttersPlace eq 'terrace'
|| $FHEM::Automation::ShuttersControl::shutters
->getShuttersPlace eq 'EG_window' )
&& $FHEM::Automation::ShuttersControl::shutters
->getSelfDefenseMode ne 'off' )
)