mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
76_SolarForecast.pm: contrib 0.67.6
git-svn-id: https://svn.fhem.de/fhem/trunk@26376 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
eb89795239
commit
4748ea714b
@ -5861,9 +5861,13 @@ sub __weatherOnBeam {
|
||||
weather_icon($hfcg->{$i}{weather}-100) :
|
||||
weather_icon($hfcg->{$i}{weather});
|
||||
|
||||
my $wcc = $hfcg->{$i}{wcc}; # Bewölkungsgrad ergänzen
|
||||
#Log3 ($name, 2, "$name - wcc: $wcc");
|
||||
$title .= ': '.$wcc if(IsNumeric ($wcc));
|
||||
my $wcc = $hfcg->{$i}{wcc}; # Bewölkungsgrad ergänzen
|
||||
|
||||
if(IsNumeric ($wcc)) { # Javascript Fehler vermeiden: https://forum.fhem.de/index.php/topic,117864.msg1233661.html#msg1233661
|
||||
$wcc += 0;
|
||||
}
|
||||
|
||||
$title .= ': '.$wcc;
|
||||
|
||||
if($icon_name eq 'unknown') {
|
||||
Log3 ($name, 4, "$name - unknown weather id: ".$hfcg->{$i}{weather}.", please inform the maintainer");
|
||||
|
Loading…
x
Reference in New Issue
Block a user