diff --git a/quartz_solar_forecast/inverters/solis.py b/quartz_solar_forecast/inverters/solis.py index 2dbeea2c..6c64661b 100644 --- a/quartz_solar_forecast/inverters/solis.py +++ b/quartz_solar_forecast/inverters/solis.py @@ -12,7 +12,10 @@ from http import HTTPStatus import json from typing import Any -import async_timeout +try: + import async_timeout +except: + print('Could not import `async_timeout`') from dotenv import load_dotenv @@ -387,4 +390,4 @@ async def get_solis_data(self) -> pd.DataFrame: async def get_solis_data(): solis_data = SolisData() - return await solis_data.get_solis_data() \ No newline at end of file + return await solis_data.get_solis_data()