fix error wrong hash sunrisetime bareword
This commit is contained in:
parent
9a1b6acad3
commit
004a15ea42
@ -5,7 +5,7 @@ UPD 2022-01-01_08:47:26 2405 lib/FHEM/Automation/ShuttersControl/Roommate.pm
|
||||
UPD 2022-01-01_08:47:58 32020 lib/FHEM/Automation/ShuttersControl/Shutters.pm
|
||||
UPD 2022-01-01_08:42:08 25426 lib/FHEM/Automation/ShuttersControl/Shading.pm
|
||||
UPD 2022-01-01_08:33:11 112138 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
|
||||
UPD 2022-01-01_08:37:31 40342 lib/FHEM/Automation/ShuttersControl/Helper.pm
|
||||
UPD 2022-01-01_09:03:33 40306 lib/FHEM/Automation/ShuttersControl/Helper.pm
|
||||
UPD 2022-01-01_08:49:33 2211 lib/FHEM/Automation/ShuttersControl/Window.pm
|
||||
UPD 2022-01-01_08:29:01 11716 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
|
||||
UPD 2022-01-01_08:28:05 7265 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm
|
||||
|
@ -685,17 +685,16 @@ sub ShuttersSunrise {
|
||||
$shuttersSunriseUnixtime =
|
||||
( $shuttersSunriseUnixtime + 86400 )
|
||||
if ( $shuttersSunriseUnixtime <
|
||||
( $oldFuncHash->{::sunrisetime} + 180 )
|
||||
&& $oldFuncHash->{::sunrisetime} <
|
||||
::gettimeofday() );
|
||||
( $oldFuncHash->{sunrisetime} + 180 )
|
||||
&& $oldFuncHash->{sunrisetime} < ::gettimeofday() );
|
||||
}
|
||||
}
|
||||
}
|
||||
elsif ( defined($oldFuncHash) && ref($oldFuncHash) eq 'HASH' ) {
|
||||
$shuttersSunriseUnixtime = ( $shuttersSunriseUnixtime + 86400 )
|
||||
if ( $shuttersSunriseUnixtime <
|
||||
( $oldFuncHash->{::sunrisetime} + 180 )
|
||||
&& $oldFuncHash->{::sunrisetime} < ::gettimeofday() );
|
||||
( $oldFuncHash->{sunrisetime} + 180 )
|
||||
&& $oldFuncHash->{sunrisetime} < ::gettimeofday() );
|
||||
}
|
||||
}
|
||||
elsif ( $FHEM::Automation::ShuttersControl::shutters->getUp eq 'time' )
|
||||
|
Loading…
Reference in New Issue
Block a user