mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-02 06:55:26 +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
@ -918,8 +918,7 @@ sub _setconsumerImmediatePlanning { ## no critic "not used"
|
|||||||
return qq{no valid consumer id "$c"} if(!ConsumerVal ($hash, $c, "name", ""));
|
return qq{no valid consumer id "$c"} if(!ConsumerVal ($hash, $c, "name", ""));
|
||||||
|
|
||||||
my $startts = time;
|
my $startts = time;
|
||||||
my $mintime = ConsumerVal ($hash, $c, "mintime", $defmintime);
|
my $stopdiff = ceil(ConsumerVal ($hash, $c, "mintime", $defmintime) / 60) * 3600;
|
||||||
my $stopdiff = ceil ($mintime * 60);
|
|
||||||
my $stopts = $startts + $stopdiff;
|
my $stopts = $startts + $stopdiff;
|
||||||
|
|
||||||
$paref->{consumer} = $c;
|
$paref->{consumer} = $c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user