mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
76_SolarForecast.pm: contrib 0.32.0
git-svn-id: https://svn.fhem.de/fhem/trunk@24201 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
900f5ecf80
commit
1024ae2ecd
@ -925,8 +925,9 @@ sub _setreset { ## no critic "not used"
|
||||
my $name = $paref->{name};
|
||||
my $prop = $paref->{prop} // return qq{no source specified for reset};
|
||||
|
||||
if($prop eq "pvHistory") {
|
||||
my $type = $hash->{TYPE};
|
||||
|
||||
if($prop eq "pvHistory") {
|
||||
delete $data{$type}{$name}{pvhist};
|
||||
delete $hash->{HELPER}{INITETOTAL};
|
||||
return;
|
||||
@ -954,6 +955,16 @@ sub _setreset { ## no critic "not used"
|
||||
readingsDelete($hash, "Current_GridFeedIn");
|
||||
delete $hash->{HELPER}{INITCONTOTAL};
|
||||
delete $hash->{HELPER}{INITFEEDTOTAL};
|
||||
delete $data{$type}{$name}{current}{gridconsumption};
|
||||
delete $data{$type}{$name}{current}{gridfeedin};
|
||||
delete $data{$type}{$name}{current}{consumption};
|
||||
}
|
||||
|
||||
if($prop eq "currentBatteryDev") {
|
||||
readingsDelete($hash, "Current_PowerBatIn");
|
||||
readingsDelete($hash, "Current_PowerBatOut");
|
||||
delete $data{$type}{$name}{current}{powerbatout};
|
||||
delete $data{$type}{$name}{current}{powerbatin};
|
||||
}
|
||||
|
||||
if($prop eq "currentInverterDev") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user