Improve rain display
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
|||||||
/.project
|
/.project
|
||||||
/.pydevproject
|
/.pydevproject
|
||||||
__pycache__/
|
__pycache__/
|
||||||
|
deploy.sh
|
||||||
|
@ -61,7 +61,7 @@ class WeatherToFreemobile():
|
|||||||
weather.get_detailed_status(),
|
weather.get_detailed_status(),
|
||||||
round(float(temp['min'])),
|
round(float(temp['min'])),
|
||||||
round(float(temp['max'])),
|
round(float(temp['max'])),
|
||||||
weather.get_rain()
|
weather.get_rain().get('all',0)
|
||||||
)
|
)
|
||||||
logging.info("Got the following weather: {}".format(return_message))
|
logging.info("Got the following weather: {}".format(return_message))
|
||||||
return return_message
|
return return_message
|
||||||
|
Reference in New Issue
Block a user