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