Browse Source

Improve rain display

master
djib 7 months ago
parent
commit
4dd9bd5809
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      .gitignore
  2. +1
    -1
      weather_to_freemobile.py

+ 1
- 0
.gitignore View File

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

+ 1
- 1
weather_to_freemobile.py 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

Loading…
Cancel
Save