Skip to content

Commit

Permalink
Merge pull request #90 from mampfes/disable_ssl_check
Browse files Browse the repository at this point in the history
(temporary) disable SSL check for epexspot.com
  • Loading branch information
mampfes committed Jan 10, 2024
2 parents 8d41c9b + 3ac3e12 commit 8fd7f1c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion custom_components/epex_spot/EPEXSpot/EPEXSpotWeb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,9 @@ async def _fetch_data(self, delivery_date):
# "ajax_page_state[libraries]": "bootstrap/popover,bootstrap/tooltip,core/html5shiv,core/jquery.form,epex/global-scripts,epex/global-styling,epex/highcharts,epex_core/data-disclaimer,epex_market_data/filters,epex_market_data/tables,eu_cookie_compliance/eu_cookie_compliance_default,statistics/drupal.statistics,system/base", # noqa: E501
}

async with self._session.post(self.URL, params=params, data=data) as resp:
async with self._session.post(
self.URL, params=params, data=data, verify_ssl=False
) as resp:
resp.raise_for_status()
return await resp.json()

Expand Down
2 changes: 1 addition & 1 deletion custom_components/epex_spot/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"iot_class": "cloud_polling",
"issue_tracker": "https://github.com/mampfes/ha_epex_spot/issues",
"requirements": ["bs4"],
"version": "2.3.0"
"version": "2.3.1"
}

0 comments on commit 8fd7f1c

Please sign in to comment.