Skip to content

Commit

Permalink
fix: temporarily disable SSL verification due to changes in OMIE.es (#63
Browse files Browse the repository at this point in the history
)
  • Loading branch information
luuuis authored Apr 17, 2024
1 parent 2c59be9 commit 0245c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/omie/coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def _data_is_fresh(self) -> bool:


async def fetch_to_dict(session: aiohttp.ClientSession, source: str, market_date: date, short_names: dict[str, str]) -> Optional[OMIEModel]:
async with await session.get(source, timeout=DEFAULT_TIMEOUT.total_seconds()) as resp:
async with await session.get(source, ssl=False, timeout=DEFAULT_TIMEOUT.total_seconds()) as resp:
if resp.status == 404:
return None

Expand Down

0 comments on commit 0245c78

Please sign in to comment.