add EG_window to ShuttersPlace and expand ProcessingResidents Fn for
close Shutter by open window then gone
This commit is contained in:
@ -246,7 +246,7 @@ our %userAttrList = (
|
||||
'ASC_WindowRec' => '-',
|
||||
'ASC_WindowRec_subType:twostate,threestate' => '-',
|
||||
'ASC_WindowRec_PosAfterDayClosed:open,lastManual' => '-',
|
||||
'ASC_ShuttersPlace:window,terrace,awning' => '-',
|
||||
'ASC_ShuttersPlace:window,terrace,awning,EG_window' => '-',
|
||||
'ASC_Ventilate_Pos:10,20,30,40,50,60,70,80,90,100' => [ '', 70, 30 ],
|
||||
'ASC_ComfortOpen_Pos:0,10,20,30,40,50,60,70,80,90,100' => [ '', 20, 80 ],
|
||||
'ASC_GuestRoom:on,off' => '-',
|
||||
|
@ -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' )
|
||||
)
|
||||
|
Reference in New Issue
Block a user