mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
RESIDENTStk: always reset wakeup state in ROOMMATE/GUEST when ending wakeup program
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13846 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9d83914c97
commit
97df310d8d
@ -93,7 +93,7 @@ m/^(off|nextrun|trigger|start|stop|end|reset|auto|[\+\-][1-9]*[0-9]*|[\+\-]?[0-9
|
|||||||
AttrVal( $NAME, "wakeupUserdevice", "" ),
|
AttrVal( $NAME, "wakeupUserdevice", "" ),
|
||||||
AttrVal(
|
AttrVal(
|
||||||
AttrVal( $NAME, "wakeupUserdevice", "" ), "rr_realname",
|
AttrVal( $NAME, "wakeupUserdevice", "" ), "rr_realname",
|
||||||
"group"
|
"alias"
|
||||||
),
|
),
|
||||||
$wakeupUserdeviceRealname
|
$wakeupUserdeviceRealname
|
||||||
);
|
);
|
||||||
@ -774,13 +774,14 @@ if (\$EVTPART0 eq \"stop\") {\
|
|||||||
fhem "set $wakeupUserdevice:FILTER=state=asleep awoken";
|
fhem "set $wakeupUserdevice:FILTER=state=asleep awoken";
|
||||||
}
|
}
|
||||||
|
|
||||||
fhem "setreading $wakeupUserdevice:FILTER=wakeup=1 wakeup 0";
|
|
||||||
|
|
||||||
my $wakeupStopAtdevice = $wakeupAtdevice . "_stop";
|
my $wakeupStopAtdevice = $wakeupAtdevice . "_stop";
|
||||||
if ( defined( $defs{$wakeupStopAtdevice} ) ) {
|
if ( defined( $defs{$wakeupStopAtdevice} ) ) {
|
||||||
fhem "delete $wakeupStopAtdevice";
|
fhem "delete $wakeupStopAtdevice";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fhem "setreading $wakeupUserdevice:FILTER=wakeup=1 wakeup 0";
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user