Improve rain display

This commit is contained in:
2019-09-07 09:39:39 +02:00
parent 30ffd3fbdd
commit 4dd9bd5809
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -2,3 +2,4 @@
/.project
/.pydevproject
__pycache__/
deploy.sh

View File

@ -61,7 +61,7 @@ class WeatherToFreemobile():
weather.get_detailed_status(),
round(float(temp['min'])),
round(float(temp['max'])),
weather.get_rain()
weather.get_rain().get('all',0)
)
logging.info("Got the following weather: {}".format(return_message))
return return_message