mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
36_JeeLink.pm: fix for timer (see forum: http://forum.fhem.de/index.php/topic,14786.msg344636.html#msg344636)
git-svn-id: https://svn.fhem.de/fhem/trunk@9455 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fc772bb938
commit
eb5813bed7
@ -863,7 +863,7 @@ sub JeeLink_OnTimer($) {
|
||||
if(defined($attrVal)) {
|
||||
my ($timeout, $interval) = split(',', $attrVal);
|
||||
InternalTimer(gettimeofday() + $interval, "JeeLink_OnTimer", $timerName, 0);
|
||||
my $jeeLinkTime = InternalVal($name, "myJeeLink_TIME", "2000-01-01 00:00:00");
|
||||
my $jeeLinkTime = InternalVal($name, "${name}_TIME", "2000-01-01 00:00:00");
|
||||
my ($date, $time, $year, $month, $day, $hour, $min, $sec, $timestamp);
|
||||
($date, $time) = split( ' ', $jeeLinkTime);
|
||||
($year, $month, $day) = split( '-', $date);
|
||||
|
Loading…
x
Reference in New Issue
Block a user