76_SolarForecast.pm: contrib 0.21.0

git-svn-id: https://svn.fhem.de/fhem/trunk@24076 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
DS_Starter
2021-03-24 16:29:51 +00:00
parent 84505edb15
commit d3e6b9748b

View File

@@ -1362,7 +1362,7 @@ sub _additionalEvents {
__addCHANGED ($hash, "PVreal: ".$pvrl, $ts) if(defined $pvrl);
$gcon = ReadingsNum($name, "Today_Hour".sprintf("%02d",$chour)."_GridConsumption", undef);
__addCHANGED ($hash, "Gridconsumption: ".$gcon, $ts) if(defined $gcon);
__addCHANGED ($hash, "GridconsumptionReal: ".$gcon, $ts) if(defined $gcon);
my $tlim = "00"; # bestimmte Aktionen
if($chour =~ /^($tlim)$/x) {
@@ -1376,7 +1376,7 @@ sub _additionalEvents {
__addCHANGED ($hash, "PVreal: ".$pvrl, $ts) if(defined $pvrl);
$gcon = ReadingsNum($name, "Today_Hour24_GridConsumption", undef);
__addCHANGED ($hash, "Gridconsumption: ".$gcon, $ts) if(defined $gcon);
__addCHANGED ($hash, "GridconsumptionReal: ".$gcon, $ts) if(defined $gcon);
deleteReadingspec ($hash, "Today_Hour.*_GridConsumption");
deleteReadingspec ($hash, "Today_Hour.*_PV.*");