fix ignore shading waiting time after set current state

This commit is contained in:
Marko Oldenburg 2021-02-26 13:59:25 +01:00
parent 4f2af22628
commit 489a7d829f
2 changed files with 8 additions and 7 deletions

View File

@ -1,11 +1,11 @@
UPD 2021-02-03_11:19:43 97970 FHEM/73_AutoShuttersControl.pm
UPD 2021-02-08_12:03:36 97970 FHEM/73_AutoShuttersControl.pm
UPD 2021-01-29_10:06:33 74314 lib/FHEM/Automation/ShuttersControl.pm
UPD 2020-06-22_09:41:40 2657 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2020-07-26_17:36:29 2496 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2020-08-12_11:00:05 31376 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2021-02-26_13:59:15 31487 lib/FHEM/Automation/ShuttersControl/Shutters.pm
UPD 2021-01-29_10:06:33 25599 lib/FHEM/Automation/ShuttersControl/Shading.pm
UPD 2021-01-29_10:06:33 110380 lib/FHEM/Automation/ShuttersControl/EventProcessingFunctions.pm
UPD 2021-02-03_11:27:27 40628 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2021-02-08_12:03:36 40628 lib/FHEM/Automation/ShuttersControl/Helper.pm
UPD 2020-06-22_09:41:40 2175 lib/FHEM/Automation/ShuttersControl/Window.pm
UPD 2021-01-29_10:06:33 11742 lib/FHEM/Automation/ShuttersControl/Dev/Attr.pm
UPD 2020-07-03_11:29:10 7251 lib/FHEM/Automation/ShuttersControl/Dev/Readings.pm

View File

@ -878,10 +878,11 @@ sub setShadingStatus {
my $self = shift;
my $value = shift; ### Werte für value = in, out, in reserved, out reserved
return
if ( defined($value)
&& exists( $self->{ $self->{shuttersDev} }{ShadingStatus}{VAL} )
&& $self->{ $self->{shuttersDev} }{ShadingStatus}{VAL} eq $value );
# Es wird durch das return die ShadingWaitingTime nicht mehr beachtet, Bugmeldung von Bernd Griemsmann
# return
# if ( defined($value)
# && exists( $self->{ $self->{shuttersDev} }{ShadingStatus}{VAL} )
# && $self->{ $self->{shuttersDev} }{ShadingStatus}{VAL} eq $value );
$FHEM::Automation::ShuttersControl::shutters->setShadingLastStatus(
( $value eq 'in' ? 'out' : 'in' ) )