This commit is contained in:
Marko Oldenburg 2022-01-02 08:31:38 +01:00
parent d35dda835a
commit 663ce748e2
2 changed files with 9 additions and 12 deletions

View File

@ -1,5 +1,5 @@
UPD 2022-01-01_20:15:38 115601 FHEM/73_AutoShuttersControl.pm
UPD 2022-01-02_08:24:03 75862 lib/FHEM/Automation/ShuttersControl.pm
UPD 2022-01-02_08:30:53 75824 lib/FHEM/Automation/ShuttersControl.pm
UPD 2022-01-02_07:57:18 2691 lib/FHEM/Automation/ShuttersControl/Dev.pm
UPD 2022-01-02_07:57:18 2677 lib/FHEM/Automation/ShuttersControl/Roommate.pm
UPD 2022-01-02_08:24:00 32016 lib/FHEM/Automation/ShuttersControl/Shutters.pm

View File

@ -402,15 +402,12 @@ sub Notify {
if (
(
grep { /^DEFINED.$name$/ },
grep { /^DEFINED.$name$/ }
@{$events} && $devname eq 'global' && $::init_done
)
|| (
grep { /^INITIALIZED$/ },
@{$events} or grep { /^REREADCFG$/ },
@{$events} or grep { /^MODIFIED.$name$/ },
@{$events}
)
|| ( grep { /^INITIALIZED$/ } @{$events}
or grep { /^REREADCFG$/ } @{$events}
or grep { /^MODIFIED.$name$/ } @{$events} )
&& $devname eq 'global'
)
{
@ -452,7 +449,7 @@ sub Notify {
my $posReading = $shutters->getPosCmd;
if ( $devname eq $name ) {
if ( grep { /^userAttrList:.rolled.out$/ }, @{$events} ) {
if ( grep { /^userAttrList:.rolled.out$/ } @{$events} ) {
if ( scalar( @{ $hash->{helper}{shuttersList} } ) > 0 ) {
WriteReadingsShuttersList($hash);
UserAttributs_Readings_ForShutters( $hash, 'add' );
@ -477,10 +474,10 @@ sub Notify {
::ReadingsVal( $name, 'controlShading', 'off' ) ne 'off' );
}
}
elsif ( grep { /^partyMode:.off$/ }, @{$events} ) {
elsif ( grep { /^partyMode:.off$/ } @{$events} ) {
EventProcessingPartyMode($hash);
}
elsif ( grep { /^sunriseTimeWeHoliday:.(on|off)$/ }, @{$events} ) {
elsif ( grep { /^sunriseTimeWeHoliday:.(on|off)$/ } @{$events} ) {
RenewSunRiseSetShuttersTimer($hash);
}
}
@ -496,7 +493,7 @@ sub Notify {
EventProcessingGeneral( $hash, undef, join( ' ', @{$events} ) );
}
}
elsif ( grep { /^($posReading):\s\d{1,3}(\.\d{1,3})?$/ }, @{$events} ) {
elsif ( grep { /^($posReading):\s\d{1,3}(\.\d{1,3})?$/ } @{$events} ) {
ASC_Debug( 'Notify: '
. ' ASC_Pos_Reading Event vom Rollo '
. $devname