pyastroweatherio 0.43.1.dev5__tar.gz → 0.43.1.dev7__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.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/PKG-INFO +1 -1
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/client.py +6 -1
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/PKG-INFO +1 -1
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/setup.py +1 -1
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/LICENSE +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/README.md +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/__init__.py +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/const.py +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/dataclasses.py +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/errors.py +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/helper_functions.py +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/SOURCES.txt +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/dependency_links.txt +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/requires.txt +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/top_level.txt +0 -0
- {pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/setup.cfg +0 -0
|
@@ -622,10 +622,15 @@ class AstroWeather:
|
|
|
622
622
|
else:
|
|
623
623
|
# Fake 7timer weather data if service is broken
|
|
624
624
|
# This eliminates consideration of seeing, transparency, and lifted_index
|
|
625
|
+
# TODO: Think about a complete redesign of the calculations and potentially
|
|
626
|
+
# make met.no the leading source instead of 7timer
|
|
627
|
+
# TODO: Find another source for seeing and transparency
|
|
628
|
+
self._seeing_weight = 0
|
|
629
|
+
self._transparency_weight = 0
|
|
625
630
|
self._weather_data_seventimer = []
|
|
626
631
|
for index in range(0, 20):
|
|
627
632
|
self._weather_data_seventimer.append({"timepoint": index * 3, "seeing": 0, "transparency": 0, "lifted_index": 0})
|
|
628
|
-
self._weather_data_seventimer_init = datetime.now().strftime("%Y%m%d%H")
|
|
633
|
+
self._weather_data_seventimer_init = datetime.now().replace(hour=0).strftime("%Y%m%d%H")
|
|
629
634
|
else:
|
|
630
635
|
_LOGGER.debug("Using cached data for 7Timer")
|
|
631
636
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/dataclasses.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio/helper_functions.py
RENAMED
|
File without changes
|
{pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
{pyastroweatherio-0.43.1.dev5 → pyastroweatherio-0.43.1.dev7}/pyastroweatherio.egg-info/requires.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|