drive awning to open position if (wind unprotected) at night
This commit is contained in:
		| @@ -1360,6 +1360,10 @@ sub EventProcessingWind { | |||||||
|                           $FHEM::Automation::ShuttersControl::shutters->getIsDay |                           $FHEM::Automation::ShuttersControl::shutters->getIsDay | ||||||
|                         ? $FHEM::Automation::ShuttersControl::shutters |                         ? $FHEM::Automation::ShuttersControl::shutters | ||||||
|                           ->getLastPos |                           ->getLastPos | ||||||
|  |                         : ( $FHEM::Automation::ShuttersControl::shutters->getShuttersPlace | ||||||
|  |                             eq 'awning' | ||||||
|  |                             ? $FHEM::Automation::ShuttersControl::shutters | ||||||
|  |                               ->getOpenPos | ||||||
|                             : ( |                             : ( | ||||||
|                                 $FHEM::Automation::ShuttersControl::shutters |                                 $FHEM::Automation::ShuttersControl::shutters | ||||||
|                                   ->getPrivacyDownStatus == 2 |                                   ->getPrivacyDownStatus == 2 | ||||||
| @@ -1375,6 +1379,7 @@ sub EventProcessingWind { | |||||||
|                                 ) |                                 ) | ||||||
|                             ) |                             ) | ||||||
|                         ) |                         ) | ||||||
|  |                     ) | ||||||
|                 ); |                 ); | ||||||
|                 $FHEM::Automation::ShuttersControl::shutters |                 $FHEM::Automation::ShuttersControl::shutters | ||||||
|                   ->setWindProtectionStatus('unprotected'); |                   ->setWindProtectionStatus('unprotected'); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user