pyastroweatherio 0.23.0.dev1__tar.gz → 0.23.0.dev2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/PKG-INFO +1 -1
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/client.py +2 -2
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/PKG-INFO +1 -1
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/setup.py +1 -1
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/LICENSE +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/README.md +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/__init__.py +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/const.py +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/dataclasses.py +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/errors.py +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/helper_functions.py +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/SOURCES.txt +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/dependency_links.txt +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/requires.txt +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/top_level.txt +0 -0
- {pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/setup.cfg +0 -0
|
@@ -174,7 +174,7 @@ class AstroWeather:
|
|
|
174
174
|
_LOGGER.debug("Cloud Area Fraction timestamp match: %s", str(forecast_time))
|
|
175
175
|
datails = self._weather_data_met[met_index].get("data", {}).get("instant", {}).get("details", {})
|
|
176
176
|
# Overwrite cloudcover
|
|
177
|
-
item["cloudcover"] = datails.get("cloud_area_fraction", -1) / 12.5 + 1
|
|
177
|
+
item["cloudcover"] = int(datails.get("cloud_area_fraction", -1) / 12.5 + 1)
|
|
178
178
|
|
|
179
179
|
item["cloud_area_fraction"] = datails.get("cloud_area_fraction", -1)
|
|
180
180
|
item["cloud_area_fraction_high"] = datails.get("cloud_area_fraction_high", -1)
|
|
@@ -277,7 +277,7 @@ class AstroWeather:
|
|
|
277
277
|
_LOGGER.debug("Cloud Area Fraction timestamp match: %s", str(forecast_time))
|
|
278
278
|
datails = self._weather_data_met[met_index + cnt].get("data", {}).get("instant", {}).get("details", {})
|
|
279
279
|
# Overwrite cloudcover
|
|
280
|
-
item["cloudcover"] = datails.get("cloud_area_fraction", -1) / 12.5 + 1
|
|
280
|
+
item["cloudcover"] = int(datails.get("cloud_area_fraction", -1) / 12.5 + 1)
|
|
281
281
|
|
|
282
282
|
item["cloud_area_fraction"] = datails.get("cloud_area_fraction", -1)
|
|
283
283
|
item["cloud_area_fraction_high"] = datails.get("cloud_area_fraction_high", -1)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/dataclasses.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio/helper_functions.py
RENAMED
|
File without changes
|
{pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.23.0.dev1 → pyastroweatherio-0.23.0.dev2}/pyastroweatherio.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|