new version
This commit is contained in:
parent
9b088082ca
commit
891d400477
@ -1365,7 +1365,8 @@ sub SunSetShuttersAfterTimerFn($) {
|
||||
|
||||
if ( $shutters->getModeDown eq $homemode
|
||||
or $homemode eq 'none'
|
||||
or $shutters->getModeDown eq 'always' ) {
|
||||
or $shutters->getModeDown eq 'always' )
|
||||
{
|
||||
$shutters->setLastDrive('night close');
|
||||
ShuttersCommandSet( $hash, $shuttersDev, $posValue );
|
||||
}
|
||||
@ -1642,14 +1643,14 @@ sub ShuttersSunrise($$$) {
|
||||
and $ascDev->getSunriseTimeWeHoliday eq 'on' )
|
||||
{
|
||||
if ( not IsWeTomorrow() ) {
|
||||
if ( IsWe()
|
||||
if (
|
||||
IsWe()
|
||||
and int( gettimeofday() / 86400 ) == int(
|
||||
(
|
||||
computeAlignTime(
|
||||
'24:00',
|
||||
sunrise_abs(
|
||||
$autoAstroMode,
|
||||
0,
|
||||
$autoAstroMode, 0,
|
||||
$shutters->getTimeUpWeHoliday
|
||||
)
|
||||
) + 1
|
||||
|
Loading…
Reference in New Issue
Block a user