mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-15 04:20:56 +00:00
RESIDENTStk wakeuptimer: fix state reset in case resident is absent
git-svn-id: https://svn.fhem.de/fhem/trunk@8865 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
24d431a86c
commit
edc07bf33d
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user