mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 07:24:21 +00:00
76_SolarForecast: contrib 0.80.5
git-svn-id: https://svn.fhem.de/fhem/trunk@27730 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0549ee21d6
commit
4f61bae9da
@ -7479,10 +7479,6 @@ sub _graphicHeader {
|
||||
if ($acu =~ /on/xs) {
|
||||
$acicon = FW_makeImage('10px-kreis-gruen.png', $htitles{on}{$lang}." ($acu)");
|
||||
}
|
||||
elsif ($acu =~ /off/xs) {
|
||||
$htitles{akorron}{$lang} =~ s/<NAME>/$name/xs;
|
||||
$acicon = FW_makeImage('-', $htitles{akorron}{$lang});
|
||||
}
|
||||
elsif ($acu =~ /standby/ixs) {
|
||||
my $pcfa = ReadingsVal ($name, 'pvCorrectionFactor_Auto', 'off');
|
||||
my ($rtime) = $pcfa =~ /for (.*?) hours/x;
|
||||
@ -7490,7 +7486,8 @@ sub _graphicHeader {
|
||||
$acicon = "$img (Start in ".$rtime." h)";
|
||||
}
|
||||
else {
|
||||
$acicon = FW_makeImage('10px-kreis-rot.png', $htitles{undef}{$lang});
|
||||
$htitles{akorron}{$lang} =~ s/<NAME>/$name/xs;
|
||||
$acicon = FW_makeImage('-', $htitles{akorron}{$lang});
|
||||
}
|
||||
|
||||
## Solare API Sektion
|
||||
@ -11081,7 +11078,7 @@ sub isAutoCorrUsed {
|
||||
my $ret = $cauto =~ /on_simple/xs ? 'on_simple' :
|
||||
$cauto =~ /on_complex/xs ? 'on_complex' :
|
||||
$cauto =~ /standby/xs ? 'standby' :
|
||||
$cauto =~ /on/xs ? 'on_simple' :
|
||||
$cauto =~ /on/xs ? 'on_simple' :
|
||||
q{};
|
||||
|
||||
return $ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user