mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-16 04:36:02 +00:00
59_Weather: wunderground API fix lost temperature reading
git-svn-id: https://svn.fhem.de/fhem/trunk@27642 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
33806e6ab7
commit
65ebfa7b36
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 59_Weather: wunderground API fix lost temperature reading
|
||||
- bugfix: 88_HMCCU: Fixed scaling of non numeric reading values
|
||||
- bugfix: 74_AutomowerConnect: improved background image loading
|
||||
Commandref: Hint to connect application key with Automower Connect
|
||||
|
@ -542,6 +542,16 @@ sub _ProcessingRetrieveData {
|
||||
)
|
||||
)
|
||||
),
|
||||
'temperature' => int(
|
||||
sprintf(
|
||||
"%.1f",
|
||||
(
|
||||
$data->{temperatureMax}[$i]
|
||||
? $data->{temperatureMax}[$i]
|
||||
: 0
|
||||
)
|
||||
) + 0.5
|
||||
),
|
||||
'low_c' => int(
|
||||
sprintf( "%.1f",
|
||||
$data->{temperatureMin}[$i] ) + 0.5
|
||||
|
Loading…
x
Reference in New Issue
Block a user