20_ROOMMATE,20_GUEST: only one of many r*_presenceDevices may already trigger state change -> home
git-svn-id: https://svn.fhem.de/fhem/trunk@13439 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -313,7 +313,7 @@ sub GUEST_Notify($$) {
|
||||
"GUEST $hashName: Syncing status with $devName = absent";
|
||||
fhem "set $hashName:FILTER=presence=present absent";
|
||||
}
|
||||
elsif ( !$counter->{absent} && $counter->{present} ) {
|
||||
elsif ( $counter->{present} ) {
|
||||
Log3 $hashName, 4,
|
||||
"GUEST $hashName: Syncing status with $devName = present";
|
||||
fhem "set $hashName:FILTER=presence=absent home";
|
||||
|
||||
@@ -319,7 +319,7 @@ sub ROOMMATE_Notify($$) {
|
||||
. "Syncing status with $devName = absent";
|
||||
fhem "set $hashName:FILTER=presence=present absent";
|
||||
}
|
||||
elsif ( !$counter->{absent} && $counter->{present} ) {
|
||||
elsif ( $counter->{present} ) {
|
||||
Log3 $hashName, 4,
|
||||
"ROOMMATE $hashName: "
|
||||
. "Syncing status with $devName = present";
|
||||
|
||||
Reference in New Issue
Block a user