RESIDENTStk wakeuptimer: fix state reset in case resident is absent
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@8865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -1187,7 +1187,7 @@ sub RESIDENTStk_wakeupRun($;$) {
|
||||
Log3 $NAME, 4,
|
||||
"RESIDENTStk $NAME: Resetting based on wakeupDefaultTime";
|
||||
fhem
|
||||
"set $NAME:FILTER=nextRun!=$wakeupDefaultTime nextRun $wakeupDefaultTime";
|
||||
"set $NAME:FILTER=state!=$wakeupDefaultTime nextRun $wakeupDefaultTime";
|
||||
}
|
||||
elsif ( !$running ) {
|
||||
fhem "setreading $NAME:FILTER=state!=$nextRun state $nextRun";
|
||||
|
||||
Reference in New Issue
Block a user