Convert openweathermap dewpoint from kelvin to celcius (#51893)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
parent
ab73ce00a0
commit
3c0a24db50
2 changed files with 5 additions and 3 deletions
|
@ -187,6 +187,7 @@ def _create_mocked_owm(is_api_online: bool):
|
|||
weather.snow.return_value = []
|
||||
weather.detailed_status.return_value = "status"
|
||||
weather.weather_code = 803
|
||||
weather.dewpoint = 10
|
||||
|
||||
mocked_owm.weather_at_coords.return_value.weather = weather
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue