mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-01 12:38:37 +00:00
76_SolarForecast.pm: contrib 0.68.4
git-svn-id: https://svn.fhem.de/fhem/trunk@26464 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
15ee434dc4
commit
52c7e27439
@ -917,9 +917,8 @@ sub _setconsumerImmediatePlanning { ## no critic "not used"
|
||||
return qq{no consumer number specified} if(!$c);
|
||||
return qq{no valid consumer id "$c"} if(!ConsumerVal ($hash, $c, "name", ""));
|
||||
|
||||
my $startts = time;
|
||||
my $mintime = ConsumerVal ($hash, $c, "mintime", $defmintime);
|
||||
my $stopdiff = ceil ($mintime * 60);
|
||||
my $startts = time;
|
||||
my $stopdiff = ceil(ConsumerVal ($hash, $c, "mintime", $defmintime) / 60) * 3600;
|
||||
my $stopts = $startts + $stopdiff;
|
||||
|
||||
$paref->{consumer} = $c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user