add true false Regex for WinRec Fn
This commit is contained in:
parent
9f488925c1
commit
5deccc4f58
@ -929,7 +929,8 @@ sub EventProcessingWindowRec($@) {
|
||||
my ( $hash, $shuttersDev, $events ) = @_;
|
||||
my $name = $hash->{NAME};
|
||||
|
||||
if ( $events =~ m#.*state:.*?([Oo]pen(?>ed)?|[Cc]losed?|tilt(?>ed)?)#
|
||||
if ( $events =~
|
||||
m#.*state:.*?([Oo]pen(?>ed)?|[Cc]losed?|tilt(?>ed)?|true|false)#
|
||||
and IsAfterShuttersManualBlocking($shuttersDev) )
|
||||
{
|
||||
my $match = $1;
|
||||
@ -966,7 +967,7 @@ sub EventProcessingWindowRec($@) {
|
||||
);
|
||||
|
||||
if (
|
||||
$match =~ /[Cc]lose/
|
||||
$match =~ /[Cc]lose|true/
|
||||
and IsAfterShuttersTimeBlocking($shuttersDev)
|
||||
and ( $shutters->getStatus == $shutters->getVentilatePos
|
||||
or $shutters->getStatus == $shutters->getComfortOpenPos
|
||||
@ -1023,7 +1024,7 @@ sub EventProcessingWindowRec($@) {
|
||||
elsif (
|
||||
(
|
||||
$match =~ /tilt/
|
||||
or ( $match =~ /[Oo]pen/
|
||||
or ( $match =~ /[Oo]pen|false/
|
||||
and $shutters->getSubTyp eq 'twostate' )
|
||||
)
|
||||
and $shutters->getVentilateOpen eq 'on'
|
||||
@ -1041,7 +1042,7 @@ sub EventProcessingWindowRec($@) {
|
||||
)
|
||||
);
|
||||
}
|
||||
elsif ( $match =~ /[Oo]pen/
|
||||
elsif ( $match =~ /[Oo]pen|false/
|
||||
and $shutters->getSubTyp eq 'threestate' )
|
||||
{
|
||||
my $posValue;
|
||||
@ -6658,7 +6659,7 @@ sub getblockAscDrivesAfterManual {
|
||||
],
|
||||
"release_status": "under develop",
|
||||
"license": "GPL_2",
|
||||
"version": "v0.6.34",
|
||||
"version": "v0.6.35",
|
||||
"author": [
|
||||
"Marko Oldenburg <leongaultier@gmail.com>"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user