mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 16:56:54 +00:00
OPENWEATHER: bugfix OPENWEATHER_Html
git-svn-id: https://svn.fhem.de/fhem/trunk@7123 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
ecb5ff80d7
commit
1bc9c69916
@ -404,7 +404,6 @@ OPENWEATHER_Done($)
|
||||
|
||||
my ($name, $success, $result) = split("\\|", $string);
|
||||
my $hash = $defs{$name};
|
||||
my $returnStr ="";
|
||||
|
||||
delete($hash->{helper}{RUNNING_PID});
|
||||
|
||||
@ -488,7 +487,7 @@ OPENWEATHER_Html($)
|
||||
|
||||
for(my $i=0; $i<=2; $i++)
|
||||
{
|
||||
$ret .= sprintf('<tr><td valign=top><b>%s</b></td><td>%s<br>min. %s °C max. %s °C<br>Nieders.risiko: %s %<br>Wind: %s km/h aus %s</td></tr>',
|
||||
$ret .= sprintf('<tr><td valign=top><b>%s</b></td><td>%s<br>min. %s °C max. %s °C<br>Nieders.risiko: %s %%<br>Wind: %s km/h aus %s</td></tr>',
|
||||
$i==0 ? "heute" : ReadingsVal($d, "fc".$i."_wday", "")
|
||||
, ReadingsVal($d, "fc".$i."_weather", "")
|
||||
, ReadingsVal($d, "fc".$i."_tempMin", ""), ReadingsVal($d, "fc".$i."_tempMax", "")
|
||||
|
Loading…
x
Reference in New Issue
Block a user