little change
This commit is contained in:
parent
a5493e992d
commit
31256f1a17
@ -835,11 +835,13 @@ sub WeatherAsHtmlH($;$$) {
|
||||
if(defined($h->{READINGS}->{"${fc}${i}_low_c"}) and $h->{READINGS}->{"${fc}${i}_low_c"}){
|
||||
$ret .= sprintf( '<td class="weatherMin">min %s°C</td>',
|
||||
ReadingsVal( $d, "${fc}${i}_low_c", " - " ) );
|
||||
}else{
|
||||
}
|
||||
else {
|
||||
$ret .= sprintf( '<td class="weatherMin"> %s°C</td>',
|
||||
ReadingsVal( $d, "${fc}${i}_temperature", " - " ) );
|
||||
}
|
||||
}
|
||||
|
||||
$ret .= '</tr>';
|
||||
|
||||
# wind | max
|
||||
@ -851,6 +853,7 @@ sub WeatherAsHtmlH($;$$) {
|
||||
ReadingsVal( $d, "${fc}${i}_high_c", " - " ) );
|
||||
}
|
||||
}
|
||||
|
||||
$ret .= "</tr></table>";
|
||||
|
||||
return $ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user