2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 05:16:02 +00:00

RESIDENTStk.pm: make Wakeuptimer compatible with Tablet UI settimer widget:

<div data-type="settimer"
    data-device="rr_Firstname_wakeuptimer1"
    data-get="nextRun"
    data-set="nextRun"></div>


git-svn-id: https://svn.fhem.de/fhem/trunk@9978 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
jpawlowski 2015-11-23 01:48:03 +00:00
parent 36c4ca1e7a
commit fdde6b4991

View File

@ -760,7 +760,7 @@ if (\$EVTPART0 eq \"stop\") {\
# auto or reset
#
elsif ( $VALUE eq "auto" || $VALUE eq "reset" ) {
elsif ( $VALUE eq "auto" || $VALUE eq "reset" || $VALUE =~ /^NaN:|:NaN$/ ) {
my $resetTime = ReadingsVal( $NAME, "lastRun", 0 );
if ($wakeupDefaultTime) {
$resetTime = $wakeupDefaultTime;