diff --git a/lib/binary_build.sh b/lib/binary_build.sh index c5d5ed8..c3797ca 100755 --- a/lib/binary_build.sh +++ b/lib/binary_build.sh @@ -1,5 +1,5 @@ #!/bin/bash -VERSION="0.3.0" +VERSION="0.4.0" # Can't put full folders echo "Building the binary" diff --git a/lib/weather/weather.py b/lib/weather/weather.py index e27a057..05bfed0 100755 --- a/lib/weather/weather.py +++ b/lib/weather/weather.py @@ -196,7 +196,7 @@ def get_wind_deg(self): @property def get_precipitation(self): - return self._pop + return self._pop * 100 @property def get_uv(self): diff --git a/matrix/weathermatrix.py b/matrix/weathermatrix.py index c3bb83d..49a79b9 100755 --- a/matrix/weathermatrix.py +++ b/matrix/weathermatrix.py @@ -20,7 +20,6 @@ def __init__(self, matrix, api: Dict, logger) -> None: self.api = api self.logger = logger self.icons = build_weather_icons() - async def poll_api(self) -> Weather: return Weather(await self.api.run()) def get_temp_color(self, temp):